-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update links to Rust Reference in diagnostic #112498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Instead of linking to the old Rust Reference site on static.rust-lang.org, link to the current website doc.rust-lang.org/stable/reference instead in diagnostic about incorrect literals.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @TaKO8Ki (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Have you searched for other occurrences of these outdated docs? There could be more than just this one. Feel free to send another PR if you find more.
r? Nilstrieb
@bors r+ rollup
bors :( |
I grepped for |
@Nilstrieb Oops -- I just realized that this link more closely corresponds to the intention of the original link, and also has more complete and relevant information. I just pushed another commit. Apologies if I'm doing anything wrong, this is my first time contributing to Rust. |
That's fine, I'll reapprove the new commit. |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#112475 (Fix issue for module name when surround the struct literal with parentheses) - rust-lang#112477 (Give more helpful progress messages in `Assemble`) - rust-lang#112484 (Fix ntdll linkage issues on Windows UWP platforms) - rust-lang#112492 (Migrate GUI colors test to original CSS color format) - rust-lang#112493 (iat selection: normalize self ty & completely erase bound vars) - rust-lang#112497 (abs_sub: fix typo 0[-:][+.]0) - rust-lang#112498 (Update links to Rust Reference in diagnostic) r? `@ghost` `@rustbot` modify labels: rollup
Instead of linking to the old Rust Reference site, which is severely outdated (Rust 1.17), link to the current website in diagnostic about incorrect literals.