-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Create E0774 #76406
Create E0774 #76406
Conversation
Some changes occurred in diagnostic error codes |
(rust_highfive has picked a reviewer for you, use r? to override) |
I think this should use |
Then let's go! |
1effb3a
to
1d02f4f
Compare
Updated! |
let mut err = self | ||
.cx | ||
.struct_span_err(span, "`derive` may only be applied to structs, enums and unions"); | ||
let mut err = rustc_errors::struct_span_err!( |
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.
nit: this is generally imported and used without the rustc_errors
prefix
@bors: r=pickfire,jyn514 |
📌 Commit 1d02f4f has been approved by |
☀️ Test successful - checks-actions, checks-azure |
No description provided.