1 error: `x` is shadowed by itself in `&mut x`
7 = note: `-D shadow-same` implied by `-D warnings`
8 note: previous binding is here
14 error: `x` is shadowed by itself in `{ x }`
20 = note: `-D shadow-same` implied by `-D warnings`
21 note: previous binding is here
27 error: `x` is shadowed by itself in `(&*x)`
33 = note: `-D shadow-same` implied by `-D warnings`
34 note: previous binding is here
40 error: `x` is shadowed by `{ *x + 1 }` which reuses the original value
43 16 | let x = { *x + 1 };
46 = note: `-D shadow-reuse` implied by `-D warnings`
47 note: initialization happens here
50 16 | let x = { *x + 1 };
52 note: previous binding is here
58 error: `x` is shadowed by `id(x)` which reuses the original value
64 = note: `-D shadow-reuse` implied by `-D warnings`
65 note: initialization happens here
70 note: previous binding is here
73 16 | let x = { *x + 1 };
76 error: `x` is shadowed by `(1, x)` which reuses the original value
82 = note: `-D shadow-reuse` implied by `-D warnings`
83 note: initialization happens here
88 note: previous binding is here
94 error: `x` is shadowed by `first(x)` which reuses the original value
97 19 | let x = first(x);
100 = note: `-D shadow-reuse` implied by `-D warnings`
101 note: initialization happens here
104 19 | let x = first(x);
106 note: previous binding is here
112 error: `x` is shadowed by `y`
118 = note: `-D shadow-unrelated` implied by `-D warnings`
119 note: initialization happens here
124 note: previous binding is here
127 19 | let x = first(x);
130 error: `x` shadows a previous declaration
136 = note: `-D shadow-unrelated` implied by `-D warnings`
137 note: previous binding is here
143 error: aborting due to 9 previous errors
145 error: Could not compile `clippy_tests`.
147 To learn more, run the command again with --verbose.