1 error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
2 --> $DIR/rename.rs:10:9
4 LL | #![warn(clippy::cyclomatic_complexity)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
7 = note: `-D renamed-and-removed-lints` implied by `-D warnings`
9 error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
10 --> $DIR/rename.rs:12:8
12 LL | #[warn(clippy::stutter)]
13 | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
15 error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
16 --> $DIR/rename.rs:15:8
18 LL | #[warn(clippy::new_without_default_derive)]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
21 error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
22 --> $DIR/rename.rs:18:8
24 LL | #[warn(clippy::const_static_lifetime)]
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
27 error: aborting due to 4 previous errors