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