1 error: generally you want to avoid `&mut &mut _` if possible
2 --> $DIR/mut_mut.rs:9: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:25: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:19:9
21 LL | let mut z = mut_ptr!(&mut 3u32);
22 | ------------------- in this macro invocation
24 = note: this error originates in the macro `mut_ptr` (in Nightly builds, run with -Z macro-backtrace for more info)
26 error: this expression mutably borrows a mutable reference. Consider reborrowing
27 --> $DIR/mut_mut.rs:27:21
29 LL | let mut y = &mut x;
32 error: generally you want to avoid `&mut &mut _` if possible
33 --> $DIR/mut_mut.rs:31:32
35 LL | let y: &mut &mut u32 = &mut &mut 2;
38 error: generally you want to avoid `&mut &mut _` if possible
39 --> $DIR/mut_mut.rs:31:16
41 LL | let y: &mut &mut u32 = &mut &mut 2;
44 error: generally you want to avoid `&mut &mut _` if possible
45 --> $DIR/mut_mut.rs:36:37
47 LL | let y: &mut &mut &mut u32 = &mut &mut &mut 2;
50 error: generally you want to avoid `&mut &mut _` if possible
51 --> $DIR/mut_mut.rs:36:16
53 LL | let y: &mut &mut &mut u32 = &mut &mut &mut 2;
56 error: generally you want to avoid `&mut &mut _` if possible
57 --> $DIR/mut_mut.rs:36:21
59 LL | let y: &mut &mut &mut u32 = &mut &mut &mut 2;
62 error: aborting due to 9 previous errors