1
1
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.10.0`
2
- --> tests/ui/incompatible_msrv.rs:14 :39
2
+ --> tests/ui/incompatible_msrv.rs:13 :39
3
3
|
4
4
LL | assert_eq!(map.entry("poneyland").key(), &"poneyland");
5
5
| ^^^^^
@@ -8,39 +8,39 @@ LL | assert_eq!(map.entry("poneyland").key(), &"poneyland");
8
8
= help: to override `-D warnings` add `#[allow(clippy::incompatible_msrv)]`
9
9
10
10
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.12.0`
11
- --> tests/ui/incompatible_msrv.rs:20 :11
11
+ --> tests/ui/incompatible_msrv.rs:19 :11
12
12
|
13
13
LL | v.into_key();
14
14
| ^^^^^^^^^^
15
15
16
16
error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.4.0`
17
- --> tests/ui/incompatible_msrv.rs:24 :5
17
+ --> tests/ui/incompatible_msrv.rs:23 :5
18
18
|
19
19
LL | sleep(Duration::new(1, 0));
20
20
| ^^^^^
21
21
22
- error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.6 .0`
23
- --> tests/ui/incompatible_msrv.rs:48:9
22
+ error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.43 .0`
23
+ --> tests/ui/incompatible_msrv.rs:47:17
24
24
|
25
- LL | core::panicking::panic("foo" );
26
- | ^ ^^^^^^^^^^^^^^^^^^^^^
25
+ LL | let _ = core::iter::once_with(|| 0 );
26
+ | ^^^^^^^^^^^^^^^^^^^^^
27
27
28
- error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.6 .0`
29
- --> tests/ui/incompatible_msrv.rs:55:13
28
+ error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.43 .0`
29
+ --> tests/ui/incompatible_msrv.rs:54:21
30
30
|
31
- LL | core::panicking::panic( $msg)
32
- | ^ ^^^^^^^^^^^^^^^^^^^^^
31
+ LL | let _ = core::iter::once_with(|| $msg);
32
+ | ^^^^^^^^^^^^^^^^^^^^^
33
33
...
34
34
LL | my_panic!("foo");
35
35
| ---------------- in this macro invocation
36
36
|
37
37
= note: this error originates in the macro `my_panic` (in Nightly builds, run with -Z macro-backtrace for more info)
38
38
39
- error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.6 .0`
39
+ error: current MSRV (Minimum Supported Rust Version) is `1.3.0` but this item is stable since `1.43 .0`
40
40
--> tests/ui/incompatible_msrv.rs:61:13
41
41
|
42
- LL | assert!(core::panicking::panic("out of luck" ));
43
- | ^^^^^^^^^^^^^^^^^^^^^^
42
+ LL | assert!(core::iter::once_with(|| 0).next().is_some( ));
43
+ | ^^^^^^^^^^^^^^^^^^^^^
44
44
45
45
error: current MSRV (Minimum Supported Rust Version) is `1.80.0` but this item is stable since `1.82.0`
46
46
--> tests/ui/incompatible_msrv.rs:74:13
0 commit comments