]> git.lizzy.rs Git - rust.git/blob - tests/ui/rename.stderr
Register rename to the LintStore.
[rust.git] / tests / ui / rename.stderr
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 error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
10   --> $DIR/rename.rs:2:9
11    |
12 LL | #![warn(clippy::cyclomatic_complexity)]
13    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
14    |
15    = note: `-D renamed-and-removed-lints` implied by `-D warnings`
16
17 error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
18   --> $DIR/rename.rs:4:8
19    |
20 LL | #[warn(clippy::stutter)]
21    |        ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
22
23 error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
24   --> $DIR/rename.rs:7:8
25    |
26 LL | #[warn(clippy::new_without_default_derive)]
27    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
28
29 error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
30   --> $DIR/rename.rs:10:8
31    |
32 LL | #[warn(clippy::const_static_lifetime)]
33    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
34
35 error: unknown lint: `stutter`
36   --> $DIR/rename.rs:1:10
37    |
38 LL | #![allow(stutter)]
39    |          ^^^^^^^
40
41 error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
42   --> $DIR/rename.rs:2:9
43    |
44 LL | #![warn(clippy::cyclomatic_complexity)]
45    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
46
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
56