]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/rename.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / rename.stderr
index ac850b60d9724f6042f43e90d93a14dbf248ded0..a9e803946041e9e8cd269e0fc147f16716c52263 100644 (file)
@@ -1,13 +1,5 @@
-error: unknown lint: `stutter`
-  --> $DIR/rename.rs:1:10
-   |
-LL | #![allow(stutter)]
-   |          ^^^^^^^
-   |
-   = 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
+  --> $DIR/rename.rs:10:9
    |
 LL | #![warn(clippy::cyclomatic_complexity)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
@@ -15,28 +7,28 @@ LL | #![warn(clippy::cyclomatic_complexity)]
    = note: `-D renamed-and-removed-lints` implied by `-D warnings`
 
 error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
-  --> $DIR/rename.rs:4:8
+  --> $DIR/rename.rs:12:8
    |
 LL | #[warn(clippy::stutter)]
    |        ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
 
 error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
-  --> $DIR/rename.rs:7:8
+  --> $DIR/rename.rs:15:8
    |
 LL | #[warn(clippy::new_without_default_derive)]
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
 
-error: unknown lint: `stutter`
-  --> $DIR/rename.rs:1:10
+error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
+  --> $DIR/rename.rs:18:8
    |
-LL | #![allow(stutter)]
-   |          ^^^^^^^
+LL | #[warn(clippy::const_static_lifetime)]
+   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
 
 error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
-  --> $DIR/rename.rs:2:9
+  --> $DIR/rename.rs:10:9
    |
 LL | #![warn(clippy::cyclomatic_complexity)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
 
-error: aborting due to 6 previous errors
+error: aborting due to 5 previous errors