-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Effective breakage to jiff
due to ambiguous_negative_literals
#128287
Comments
jiff
due to ambiguous_negative_literals
jiff
due to ambiguous_negative_literals
This lint indeed assumes the operations are ordering-sensitive. Like |
The partially-uplifted Clippy
|
If it's decided that it's not worth linting on these cases, I would propose using the |
We discussed this in our lang triage call today. @Urgau: If you would, we'd like this lint changed to |
… r=compiler-errors Temporarily switch `ambiguous_negative_literals` lint to allow This PR temporarily switch the `ambiguous_negative_literals` lint to `allow-by-default`, as asked by T-lang in rust-lang#128287 (comment).
… r=compiler-errors Temporarily switch `ambiguous_negative_literals` lint to allow This PR temporarily switch the `ambiguous_negative_literals` lint to `allow-by-default`, as asked by T-lang in rust-lang#128287 (comment).
Rollup merge of rust-lang#128449 - Urgau:tmp-allow-negative-lit-lint, r=compiler-errors Temporarily switch `ambiguous_negative_literals` lint to allow This PR temporarily switch the `ambiguous_negative_literals` lint to `allow-by-default`, as asked by T-lang in rust-lang#128287 (comment).
As asked the lint was changed to |
In favor of a global one. But also, while these aren't technically needed any more[1,2], we leave them be for now while things settle. [1]: rust-lang/rust#128449 [2]: rust-lang/rust#128287
We should discuss this bit of evidence that came in after the FCP completed on:
@BurntSushi said:
cc @BurntSushi @rust-lang/lang
@rustbot labels +T-lang +I-lang-nominated
The text was updated successfully, but these errors were encountered: