-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix error codes E0197-E0200 #25422
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
Fix error codes E0197-E0200 #25422
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@Manishearth r+ please? |
@bors: r+ I don't see any other active diagnostics prs |
📌 Commit 507f8b8 has been approved by |
@bors: rollup |
I love it! 👍 |
E0197: r##" | ||
Inherent implementations (one that do not implement a trait but provide | ||
methods associated with a type) are always safe because they are not | ||
implementing an unsafe trait. Removing the unsafe keyword from the inherent |
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.
Could you put `'s around the second unsafe (since it's referring to the code entity specifically)?
Removing the `unsafe` keyword ...
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.
Done!
@bors r+ rollup |
📌 Commit 190de69 has been approved by |
For #24407