FN: All lints in types don't work if a type is in const
or static
#6936
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
All lints in
types
don't work if types are inconst
orstatic
.I tried this code:
I expected to see this happen:
option_option
andvec_box
should be triggered.Instead, this happened: Nothing.
Meta
cargo clippy -V
: clippy 0.1.52 (f5d8117 2021-03-16)rustc -Vv
:The text was updated successfully, but these errors were encountered: