@@ -42,11 +42,6 @@ LL | let x = { *x + 1 };
42
42
| ^
43
43
|
44
44
= note: `-D clippy::shadow-reuse` implied by `-D warnings`
45
- note: initialization happens here
46
- --> $DIR/shadow.rs:30:13
47
- |
48
- LL | let x = { *x + 1 };
49
- | ^^^^^^^^^^
50
45
note: previous binding is here
51
46
--> $DIR/shadow.rs:29:9
52
47
|
@@ -59,11 +54,6 @@ error: `x` is shadowed by `id(x)` which reuses the original value
59
54
LL | let x = id(x);
60
55
| ^
61
56
|
62
- note: initialization happens here
63
- --> $DIR/shadow.rs:31:13
64
- |
65
- LL | let x = id(x);
66
- | ^^^^^
67
57
note: previous binding is here
68
58
--> $DIR/shadow.rs:30:9
69
59
|
@@ -76,11 +66,6 @@ error: `x` is shadowed by `(1, x)` which reuses the original value
76
66
LL | let x = (1, x);
77
67
| ^
78
68
|
79
- note: initialization happens here
80
- --> $DIR/shadow.rs:32:13
81
- |
82
- LL | let x = (1, x);
83
- | ^^^^^^
84
69
note: previous binding is here
85
70
--> $DIR/shadow.rs:31:9
86
71
|
@@ -93,11 +78,6 @@ error: `x` is shadowed by `first(x)` which reuses the original value
93
78
LL | let x = first(x);
94
79
| ^
95
80
|
96
- note: initialization happens here
97
- --> $DIR/shadow.rs:33:13
98
- |
99
- LL | let x = first(x);
100
- | ^^^^^^^^
101
81
note: previous binding is here
102
82
--> $DIR/shadow.rs:32:9
103
83
|
@@ -111,11 +91,6 @@ LL | let x = y;
111
91
| ^
112
92
|
113
93
= note: `-D clippy::shadow-unrelated` implied by `-D warnings`
114
- note: initialization happens here
115
- --> $DIR/shadow.rs:35:13
116
- |
117
- LL | let x = y;
118
- | ^
119
94
note: previous binding is here
120
95
--> $DIR/shadow.rs:33:9
121
96
|
0 commit comments