Unless I'm mistaken, due to the opt-in change, rustup doc fail without any error message when the doc isn't installed. Wouldn't it be more user friendly to show a message like this?
The documentation is not currently installed; you can install it by running
rustup component add rust-docs.