rustc_
lint
1.84.0-beta.4
(202008a1b 2024-12-07)
Module precedence
Module Items
Structs
Statics
In crate rustc_
lint
rustc_lint
Module
precedence
Copy item path
Source
Structs
§
Precedence
Statics
§
AMBIGUOUS_
NEGATIVE_
LITERALS
The
ambiguous_negative_literals
lint checks for cases that are confusing between a negative literal and a negation that’s not part of the literal.