mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
error: `invalid.version` is not a valid Rust version
|
|
--> $DIR/min_rust_version_invalid_attr.rs:2:1
|
|
|
|
|
LL | #![clippy::msrv = "invalid.version"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `invalid.version` is not a valid Rust version
|
|
--> $DIR/min_rust_version_invalid_attr.rs:6:1
|
|
|
|
|
LL | #[clippy::msrv = "invalid.version"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `msrv` is defined multiple times
|
|
--> $DIR/min_rust_version_invalid_attr.rs:11:5
|
|
|
|
|
LL | #![clippy::msrv = "=1.35.0"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: first definition found here
|
|
--> $DIR/min_rust_version_invalid_attr.rs:10:5
|
|
|
|
|
LL | #![clippy::msrv = "1.40"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `msrv` is defined multiple times
|
|
--> $DIR/min_rust_version_invalid_attr.rs:12:5
|
|
|
|
|
LL | #![clippy::msrv = "1.10.1"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: first definition found here
|
|
--> $DIR/min_rust_version_invalid_attr.rs:10:5
|
|
|
|
|
LL | #![clippy::msrv = "1.40"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `msrv` is defined multiple times
|
|
--> $DIR/min_rust_version_invalid_attr.rs:16:9
|
|
|
|
|
LL | #![clippy::msrv = "1.0.0"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: first definition found here
|
|
--> $DIR/min_rust_version_invalid_attr.rs:15:9
|
|
|
|
|
LL | #![clippy::msrv = "1"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 5 previous errors
|
|
|