rust-clippy/tests/ui/min_rust_version_invalid_attr.stderr

39 lines
1.1 KiB
Text
Raw Normal View History

error: `invalid.version` is not a valid Rust version
2024-02-17 12:16:29 +00:00
--> tests/ui/min_rust_version_invalid_attr.rs:2:1
|
LL | #![clippy::msrv = "invalid.version"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `invalid.version` is not a valid Rust version
2024-02-17 12:16:29 +00:00
--> tests/ui/min_rust_version_invalid_attr.rs:7:1
|
LL | #[clippy::msrv = "invalid.version"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `clippy::msrv` is defined multiple times
2024-02-17 12:16:29 +00:00
--> tests/ui/min_rust_version_invalid_attr.rs:14:5
|
LL | #![clippy::msrv = "1.10.1"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first definition found here
2024-02-17 12:16:29 +00:00
--> tests/ui/min_rust_version_invalid_attr.rs:12:5
|
LL | #![clippy::msrv = "1.40"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: `clippy::msrv` is defined multiple times
2024-02-17 12:16:29 +00:00
--> tests/ui/min_rust_version_invalid_attr.rs:19:9
|
LL | #![clippy::msrv = "1.0.0"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first definition found here
2024-02-17 12:16:29 +00:00
--> tests/ui/min_rust_version_invalid_attr.rs:18:9
|
LL | #![clippy::msrv = "1"]
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors