Skip to content

fix(cli/rustup-mode)!: change rustup doc --error_codes to --error-codes#4142

Merged
rami3l merged 1 commit intorust-lang:masterfrom
rami3l:fix/doc-error-codes
Jan 4, 2025
Merged

fix(cli/rustup-mode)!: change rustup doc --error_codes to --error-codes#4142
rami3l merged 1 commit intorust-lang:masterfrom
rami3l:fix/doc-error-codes

Conversation

@rami3l
Copy link
Copy Markdown
Member

@rami3l rami3l commented Jan 4, 2025

This is a pre-existing upstream issue (the naming of the directory is not following the convention: it should be error-codes/index.html instead of error_codes/index.html), but I think on our side --error-codes should be better.

The only exception here is --proc_macro, and I don't think it should ever been changed since it's really an entire Rust idiom instead of several words concatenated by word connectors.

PS: Regarding backwards compatibility, this new flag was introduced in v1.28.0 beta, so it'd be fine to break it.

@rami3l rami3l added this to the 1.28.0 milestone Jan 4, 2025
@rami3l rami3l requested review from ChrisDenton and djc January 4, 2025 14:40
@rami3l rami3l added this pull request to the merge queue Jan 4, 2025
Merged via the queue into rust-lang:master with commit 424407e Jan 4, 2025
@rami3l rami3l deleted the fix/doc-error-codes branch January 4, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants