]> git.lizzy.rs Git - rust.git/blob - tests/ui/rename.stderr
Auto merge of #3824 - phansch:adding_lints, r=phansch
[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: unknown lint: `stutter`
30   --> $DIR/rename.rs:1:10
31    |
32 LL | #![allow(stutter)]
33    |          ^^^^^^^
34
35 error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
36   --> $DIR/rename.rs:2:9
37    |
38 LL | #![warn(clippy::cyclomatic_complexity)]
39    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
40
41 error: aborting due to 6 previous errors
42