|
1 | | -error: unknown lint: `stutter` |
2 | | - --> $DIR/rename.rs:1:10 |
3 | | - | |
4 | | -LL | #![allow(stutter)] |
5 | | - | ^^^^^^^ |
6 | | - | |
7 | | - = note: `-D unknown-lints` implied by `-D warnings` |
8 | | - |
9 | 1 | error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` |
10 | | - --> $DIR/rename.rs:2:9 |
| 2 | + --> $DIR/rename.rs:9:9 |
11 | 3 | | |
12 | 4 | LL | #![warn(clippy::cyclomatic_complexity)] |
13 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` |
14 | 6 | | |
15 | 7 | = note: `-D renamed-and-removed-lints` implied by `-D warnings` |
16 | 8 |
|
17 | 9 | error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions` |
18 | | - --> $DIR/rename.rs:4:8 |
| 10 | + --> $DIR/rename.rs:11:8 |
19 | 11 | | |
20 | 12 | LL | #[warn(clippy::stutter)] |
21 | 13 | | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions` |
22 | 14 |
|
23 | 15 | error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default` |
24 | | - --> $DIR/rename.rs:7:8 |
| 16 | + --> $DIR/rename.rs:14:8 |
25 | 17 | | |
26 | 18 | LL | #[warn(clippy::new_without_default_derive)] |
27 | 19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default` |
28 | 20 |
|
29 | 21 | error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes` |
30 | | - --> $DIR/rename.rs:10:8 |
| 22 | + --> $DIR/rename.rs:17:8 |
31 | 23 | | |
32 | 24 | LL | #[warn(clippy::const_static_lifetime)] |
33 | 25 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes` |
34 | 26 |
|
35 | | -error: unknown lint: `stutter` |
36 | | - --> $DIR/rename.rs:1:10 |
37 | | - | |
38 | | -LL | #![allow(stutter)] |
39 | | - | ^^^^^^^ |
40 | | - |
41 | 27 | error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity` |
42 | | - --> $DIR/rename.rs:2:9 |
| 28 | + --> $DIR/rename.rs:9:9 |
43 | 29 | | |
44 | 30 | LL | #![warn(clippy::cyclomatic_complexity)] |
45 | 31 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity` |
46 | 32 |
|
47 | | -error: Statics have by default a `'static` lifetime |
48 | | - --> $DIR/rename.rs:11:14 |
49 | | - | |
50 | | -LL | static Bar: &'static str = "baz"; |
51 | | - | -^^^^^^^---- help: consider removing `'static`: `&str` |
52 | | - | |
53 | | - = note: `-D clippy::redundant-static-lifetimes` implied by `-D warnings` |
54 | | - |
55 | | -error: aborting due to 8 previous errors |
| 33 | +error: aborting due to 5 previous errors |
56 | 34 |
|
0 commit comments