]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/rename.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / rename.stderr
index 7ad8228fb359449019f88bf33f043399a45df625..074e3527e8ad1bf28a7fa95c39eba81bd39d9a2e 100644 (file)
@@ -1,7 +1,7 @@
 error: unknown lint: `stutter`
   --> $DIR/rename.rs:10:10
    |
-10 | #![allow(stutter)]
+LL | #![allow(stutter)]
    |          ^^^^^^^
    |
    = note: `-D unknown-lints` implied by `-D warnings`
@@ -9,10 +9,16 @@ error: unknown lint: `stutter`
 error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
   --> $DIR/rename.rs:12:8
    |
-12 | #[warn(clippy::stutter)]
+LL | #[warn(clippy::stutter)]
    |        ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
    |
    = note: `-D renamed-and-removed-lints` implied by `-D warnings`
 
-error: aborting due to 2 previous errors
+error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
+  --> $DIR/rename.rs:15:8
+   |
+LL | #[warn(clippy::new_without_default_derive)]
+   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
+
+error: aborting due to 3 previous errors