mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
aaa4325045
add configuration option for minimum supported rust version add msrv attribute to some lints listed in #6097 add tests
8 lines
230 B
Text
8 lines
230 B
Text
error: `invalid.version` is not a valid Rust version
|
|
--> $DIR/min_rust_version_invalid_attr.rs:2:1
|
|
|
|
|
LL | #![clippy::msrv = "invalid.version"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|