mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
23 lines
863 B
Text
23 lines
863 B
Text
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.10.0`
|
|
--> tests/ui/incompatible_msrv.rs:13:39
|
|
|
|
|
LL | assert_eq!(map.entry("poneyland").key(), &"poneyland");
|
|
| ^^^^^
|
|
|
|
|
= note: `-D clippy::incompatible-msrv` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::incompatible_msrv)]`
|
|
|
|
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.12.0`
|
|
--> tests/ui/incompatible_msrv.rs:16:11
|
|
|
|
|
LL | v.into_key();
|
|
| ^^^^^^^^^^
|
|
|
|
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.4.0`
|
|
--> tests/ui/incompatible_msrv.rs:20:5
|
|
|
|
|
LL | sleep(Duration::new(1, 0));
|
|
| ^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|