-
Notifications
You must be signed in to change notification settings - Fork 13.3k
suggest MAX
constant if -1 is assigned to unsigned type
#77578
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
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
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.
Implementation wise, this looks great. I'd like to see the message changed slightly, I don't think we've got a definitive style guide here but it currently reads slightly awkwardly to me.
@bors r+ |
📌 Commit ced11a8 has been approved by |
suggest `MAX` constant if -1 is assigned to unsigned type Fixes rust-lang#76413. Fixes rust-lang#77416.
☀️ Test successful - checks-actions, checks-azure |
Fixes #76413.
Fixes #77416.