-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Add E0510, E0511 and E0512 error explanations #28909
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
|
Thanks to @oli-obk for his great help on E0510 ! |
|
☔ The latest upstream changes (presumably #28897) made this pull request unmergeable. Please resolve the merge conflicts. |
5641f41 to
6d85688
Compare
6d85688 to
0836a6f
Compare
|
Updated ! Review needed. |
|
r? @steveklabnik |
src/librustc_trans/diagnostics.rs
Outdated
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.
“An intrinsic was monomorphized invalidly.” or “Invalid monomorphization of an intrinsic was used” maybe? You can’t “use” monomorphization “on” something.
f8ce55b to
7ce7fc1
Compare
7ce7fc1 to
881b6c1
Compare
src/librustc_trans/diagnostics.rs
Outdated
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.
"value is big enough [...] to not fit into ..." is awkward phrasing at best.
I would instead say "value is too big [...] to fit into ..."
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.
I was wondering if " may be stored in a return register(s)" was correct too. Is it ?
|
(r=me after applying adjustments suggested above.) |
881b6c1 to
412373a
Compare
src/librustc_trans/diagnostics.rs
Outdated
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.
s/to not fit/to fit/
412373a to
4618aad
Compare
|
Updated ! |
|
@bors r+ |
|
📌 Commit 4618aad has been approved by |
r? @Manishearth