rust-clippy/tests/ui/rename.stderr

29 lines
1.1 KiB
Text
Raw Normal View History

error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
2020-04-06 22:46:40 +00:00
--> $DIR/rename.rs:10: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`
2020-04-06 22:46:40 +00:00
--> $DIR/rename.rs:12: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`
2020-04-06 22:46:40 +00:00
--> $DIR/rename.rs:15:8
|
LL | #[warn(clippy::new_without_default_derive)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
2019-06-13 21:54:05 +00:00
error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
2020-04-06 22:46:40 +00:00
--> $DIR/rename.rs:18:8
2019-06-13 21:54:05 +00:00
|
LL | #[warn(clippy::const_static_lifetime)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
2021-05-07 19:53:02 +00:00
error: aborting due to 4 previous errors
2018-12-17 12:59:09 +00:00