rust-clippy/tests/ui/rename.stderr

43 lines
1.4 KiB
Text
Raw Normal View History

2018-12-17 12:59:09 +00:00
error: unknown lint: `stutter`
--> $DIR/rename.rs:1:10
2018-12-17 12:59:09 +00:00
|
2018-12-27 15:57:55 +00:00
LL | #![allow(stutter)]
2018-12-17 12:59:09 +00:00
| ^^^^^^^
|
= note: `-D unknown-lints` implied by `-D warnings`
error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
--> $DIR/rename.rs:2:9
|
LL | #![warn(clippy::cyclomatic_complexity)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
|
= note: `-D renamed-and-removed-lints` implied by `-D warnings`
2018-12-17 13:29:19 +00:00
error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
--> $DIR/rename.rs:4:8
2018-12-17 12:59:09 +00:00
|
2018-12-27 15:57:55 +00:00
LL | #[warn(clippy::stutter)]
2018-12-17 13:29:19 +00:00
| ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
2018-12-17 12:59:09 +00:00
error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
--> $DIR/rename.rs:7:8
|
LL | #[warn(clippy::new_without_default_derive)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
2019-01-27 12:46:22 +00:00
error: unknown lint: `stutter`
--> $DIR/rename.rs:1:10
|
LL | #![allow(stutter)]
| ^^^^^^^
error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
--> $DIR/rename.rs:2:9
2019-01-27 12:46:22 +00:00
|
LL | #![warn(clippy::cyclomatic_complexity)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
2019-01-27 12:46:22 +00:00
error: aborting due to 6 previous errors
2018-12-17 12:59:09 +00:00