mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 09:27:25 +00:00
aaa4325045
add configuration option for minimum supported rust version add msrv attribute to some lints listed in #6097 add tests
8 lines
216 B
Text
8 lines
216 B
Text
error: `msrv` cannot be an outer attribute
|
|
--> $DIR/min_rust_version_outer_attr.rs:3:1
|
|
|
|
|
LL | #[clippy::msrv = "invalid.version"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|