-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add E0128, E0130, E0134, E0135 and E0159 error explanation #26742
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
// identifiers | ||
``` | ||
|
||
Please verify you used the good type or change the type parameter identifier. |
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.
"Please verify that a name clash hasn't been accidentally introduced, and rename the type parameter if so"
// allowed | ||
``` | ||
|
||
I you want to modify an str, please use the String type. Example: |
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/I/If/
@@ -411,6 +411,42 @@ fn main() { | |||
See also https://doc.rust-lang.org/book/unsafe.html | |||
"##, | |||
|
|||
E0134: r##" |
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.
Aren't these error-codes borrowck's business?
☔ The latest upstream changes (presumably #26770) made this pull request unmergeable. Please resolve the merge conflicts. |
r? @arielb1 |
} | ||
``` | ||
|
||
Please also verify that a name clash hasn't been accidentally introduced, and |
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: name-clashes can't be introduced by reordering. Maybe "that this wasn't because of a name-clash".
@bors r+ rollup 58593c8 |
📌 Commit 58593c8 has been approved by |
@bors: r- |
@bors: r=arielb1 rollup |
📌 Commit 5460650 has been approved by |
Part of #24407.
r? @Manishearth