-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Suggest correct comparison against negative literal #51883
Conversation
When parsing as emplacement syntax (`x<-1`), suggest the correct syntax for comparison against a negative value (`x< -1`).
r? @varkor (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
@varkor: 🔑 Insufficient privileges: Not in reviewers |
@varkor that's odd, you should have the privs. @nikomatsakis, can you look at that? Let's see if this works: @bors r=varkor |
📌 Commit 23d59d0 has been approved by |
Well, that's one fewer errors than last time 😅Maybe @bors hasn't been restarted recently enough for the changes to have had effect. |
…rkor Suggest correct comparison against negative literal When parsing as emplacement syntax (`x<-1`), suggest the correct syntax for comparison against a negative value (`x< -1`). Fix rust-lang#45651.
…rkor Suggest correct comparison against negative literal When parsing as emplacement syntax (`x<-1`), suggest the correct syntax for comparison against a negative value (`x< -1`). Fix rust-lang#45651.
Suggest correct comparison against negative literal When parsing as emplacement syntax (`x<-1`), suggest the correct syntax for comparison against a negative value (`x< -1`). Fix #45651.
☀️ Test successful - status-appveyor, status-travis |
When parsing as emplacement syntax (
x<-1
), suggest the correct syntaxfor comparison against a negative value (
x< -1
).Fix #45651.