@@ -20,7 +20,7 @@ LL | let mut x = x;
20
20
= help: remove the redefinition of `x`
21
21
22
22
error: redundant redefinition of a binding
23
- --> $DIR/redundant_locals.rs:37 :14
23
+ --> $DIR/redundant_locals.rs:46 :14
24
24
|
25
25
LL | fn parameter(x: i32) {
26
26
| ^
@@ -30,7 +30,7 @@ LL | let x = x;
30
30
= help: remove the redefinition of `x`
31
31
32
32
error: redundant redefinition of a binding
33
- --> $DIR/redundant_locals.rs:42 :9
33
+ --> $DIR/redundant_locals.rs:51 :9
34
34
|
35
35
LL | let x = 1;
36
36
| ^
@@ -40,7 +40,7 @@ LL | let x = x;
40
40
= help: remove the redefinition of `x`
41
41
42
42
error: redundant redefinition of a binding
43
- --> $DIR/redundant_locals.rs:43 :9
43
+ --> $DIR/redundant_locals.rs:52 :9
44
44
|
45
45
LL | let x = x;
46
46
| ^
@@ -50,7 +50,7 @@ LL | let x = x;
50
50
= help: remove the redefinition of `x`
51
51
52
52
error: redundant redefinition of a binding
53
- --> $DIR/redundant_locals.rs:44 :9
53
+ --> $DIR/redundant_locals.rs:53 :9
54
54
|
55
55
LL | let x = x;
56
56
| ^
@@ -60,7 +60,7 @@ LL | let x = x;
60
60
= help: remove the redefinition of `x`
61
61
62
62
error: redundant redefinition of a binding
63
- --> $DIR/redundant_locals.rs:45 :9
63
+ --> $DIR/redundant_locals.rs:54 :9
64
64
|
65
65
LL | let x = x;
66
66
| ^
@@ -70,7 +70,7 @@ LL | let x = x;
70
70
= help: remove the redefinition of `x`
71
71
72
72
error: redundant redefinition of a binding
73
- --> $DIR/redundant_locals.rs:50 :9
73
+ --> $DIR/redundant_locals.rs:59 :9
74
74
|
75
75
LL | let a = 1;
76
76
| ^
@@ -81,7 +81,7 @@ LL | let a = a;
81
81
= help: remove the redefinition of `a`
82
82
83
83
error: redundant redefinition of a binding
84
- --> $DIR/redundant_locals.rs:51 :9
84
+ --> $DIR/redundant_locals.rs:60 :9
85
85
|
86
86
LL | let b = 2;
87
87
| ^
@@ -92,7 +92,7 @@ LL | let b = b;
92
92
= help: remove the redefinition of `b`
93
93
94
94
error: redundant redefinition of a binding
95
- --> $DIR/redundant_locals.rs:58 :13
95
+ --> $DIR/redundant_locals.rs:67 :13
96
96
|
97
97
LL | let x = 1;
98
98
| ^
@@ -102,7 +102,7 @@ LL | let x = x;
102
102
= help: remove the redefinition of `x`
103
103
104
104
error: redundant redefinition of a binding
105
- --> $DIR/redundant_locals.rs:65 :13
105
+ --> $DIR/redundant_locals.rs:74 :13
106
106
|
107
107
LL | let x = 1;
108
108
| ^
@@ -112,7 +112,7 @@ LL | let x = x;
112
112
= help: remove the redefinition of `x`
113
113
114
114
error: redundant redefinition of a binding
115
- --> $DIR/redundant_locals.rs:68 :6
115
+ --> $DIR/redundant_locals.rs:77 :6
116
116
|
117
117
LL | |x: i32| {
118
118
| ^
@@ -122,7 +122,7 @@ LL | let x = x;
122
122
= help: remove the redefinition of `x`
123
123
124
124
error: redundant redefinition of a binding
125
- --> $DIR/redundant_locals.rs:85 :9
125
+ --> $DIR/redundant_locals.rs:94 :9
126
126
|
127
127
LL | let x = 1;
128
128
| ^
0 commit comments