1 error: generally you want to avoid `&mut &mut _` if possible
2 --> $DIR/mut_mut.rs:4:11
4 LL | fn fun(x: &mut &mut u32) -> bool {
7 = note: `-D clippy::mut-mut` implied by `-D warnings`
9 error: generally you want to avoid `&mut &mut _` if possible
10 --> $DIR/mut_mut.rs:20:17
12 LL | let mut x = &mut &mut 1u32;
15 error: generally you want to avoid `&mut &mut _` if possible
16 --> $DIR/mut_mut.rs:14:9
21 LL | let mut z = mut_ptr!(&mut 3u32);
22 | ------------------- in this macro invocation
24 error: this expression mutably borrows a mutable reference. Consider reborrowing
25 --> $DIR/mut_mut.rs:22:21
27 LL | let mut y = &mut x;
30 error: generally you want to avoid `&mut &mut _` if possible
31 --> $DIR/mut_mut.rs:26:32
33 LL | let y: &mut &mut u32 = &mut &mut 2;
36 error: generally you want to avoid `&mut &mut _` if possible
37 --> $DIR/mut_mut.rs:26:16
39 LL | let y: &mut &mut u32 = &mut &mut 2;
42 error: generally you want to avoid `&mut &mut _` if possible
43 --> $DIR/mut_mut.rs:31:37
45 LL | let y: &mut &mut &mut u32 = &mut &mut &mut 2;
48 error: generally you want to avoid `&mut &mut _` if possible
49 --> $DIR/mut_mut.rs:31:16
51 LL | let y: &mut &mut &mut u32 = &mut &mut &mut 2;
54 error: generally you want to avoid `&mut &mut _` if possible
55 --> $DIR/mut_mut.rs:31:21
57 LL | let y: &mut &mut &mut u32 = &mut &mut &mut 2;
60 error: aborting due to 9 previous errors