-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update E0049 to new error format #36383
Conversation
format!("{} type parameter", | ||
num_trait_m_type_params) | ||
})) | ||
.span_label(span, &format!("but got {}", |
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.
Would probably read better here to follow the wording we have for other errors, something like "expected... , found..."
Commented on a few things to fix, mostly around making sure we keep the same wording and test the all the cases. |
2e5458b
to
3558462
Compare
Updated. |
@bors r+ rollup |
📌 Commit 3558462 has been approved by |
…rner Update E0049 to new error format Fixes rust-lang#35210. Part of rust-lang#35233. r? @jonathandturner
…rner Update E0049 to new error format Fixes rust-lang#35210. Part of rust-lang#35233. r? @jonathandturner
Fixes #35210.
Part of #35233.
r? @jonathandturner