]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mut_mut.stderr
Merge pull request #2977 from flip1995/tool_lints
[rust.git] / tests / ui / mut_mut.stderr
index 7a7bb840ba98afa210d8c4d1cf4421e876de4ed4..88bd2f729af13d52acdd8bce9a95dfe1b59c2dc8 100644 (file)
@@ -4,7 +4,7 @@ error: generally you want to avoid `&mut &mut _` if possible
 10 | fn fun(x : &mut &mut u32) -> bool {
    |            ^^^^^^^^^^^^^
    |
-   = note: `-D mut-mut` implied by `-D warnings`
+   = note: `-D clippy::mut-mut` implied by `-D warnings`
 
 error: generally you want to avoid `&mut &mut _` if possible
   --> $DIR/mut_mut.rs:24:17
@@ -39,12 +39,6 @@ error: generally you want to avoid `&mut &mut _` if possible
 30 |         let y : &mut &mut u32 = &mut &mut 2;
    |                 ^^^^^^^^^^^^^
 
-error: generally you want to avoid `&mut &mut _` if possible
-  --> $DIR/mut_mut.rs:30:17
-   |
-30 |         let y : &mut &mut u32 = &mut &mut 2;
-   |                 ^^^^^^^^^^^^^
-
 error: generally you want to avoid `&mut &mut _` if possible
   --> $DIR/mut_mut.rs:35:38
    |
@@ -63,23 +57,5 @@ error: generally you want to avoid `&mut &mut _` if possible
 35 |         let y : &mut &mut &mut u32 = &mut &mut &mut 2;
    |                      ^^^^^^^^^^^^^
 
-error: generally you want to avoid `&mut &mut _` if possible
-  --> $DIR/mut_mut.rs:35:17
-   |
-35 |         let y : &mut &mut &mut u32 = &mut &mut &mut 2;
-   |                 ^^^^^^^^^^^^^^^^^^
-
-error: generally you want to avoid `&mut &mut _` if possible
-  --> $DIR/mut_mut.rs:35:22
-   |
-35 |         let y : &mut &mut &mut u32 = &mut &mut &mut 2;
-   |                      ^^^^^^^^^^^^^
-
-error: generally you want to avoid `&mut &mut _` if possible
-  --> $DIR/mut_mut.rs:35:22
-   |
-35 |         let y : &mut &mut &mut u32 = &mut &mut &mut 2;
-   |                      ^^^^^^^^^^^^^
-
-error: aborting due to 13 previous errors
+error: aborting due to 9 previous errors