-
Notifications
You must be signed in to change notification settings - Fork 14.1k
diagnostic attribute name #135123
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
diagnostic attribute name #135123
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jieyouxu (or someone else) some time within the next two weeks. 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 (
|
|
The job Click to see the possible cause of the failure (guessed by this bot) |
jieyouxu
left a comment
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.
You also need to update the fluent slug that was called session_invalid_character_in_create_name.
|
Please also ensure this is squashed into one commit |
|
I'm going to close this PR because it only contains typo fixes and is not worth the churn. We don't want to encourage trivial typo fix PRs because of limited reviewer bandwidth. |
Changes in compiler/rustc_session/src/errors.rs:
Old word: "create" (verb meaning "to make")
New word: "crate" (Rust term for a compilation unit)
Reason:
The diagnostic attribute contained a typo using "create" instead of "crate". This is incorrect because the diagnostic is specifically about checking invalid characters in crate names, and "crate" is the proper Rust terminology for a compilation unit.
Testing: