mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
24 lines
851 B
Text
24 lines
851 B
Text
|
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.10.0`
|
||
|
--> $DIR/incompatible_msrv.rs:12: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`
|
||
|
--> $DIR/incompatible_msrv.rs:15: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`
|
||
|
--> $DIR/incompatible_msrv.rs:19:5
|
||
|
|
|
||
|
LL | sleep(Duration::new(1, 0));
|
||
|
| ^^^^^
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|