@@ -30,11 +30,7 @@ help: add a dummy let to cause `t`, `t1`, `t2` to be fully captured
30
30
|
31
31
LL ~ let c = || {
32
32
LL + let _ = (&t, &t1, &t2);
33
- LL +
34
- LL +
35
- LL +
36
- LL +
37
- ...
33
+ |
38
34
39
35
error: changes to closure capture in Rust 2021 will affect drop order
40
36
--> $DIR/insignificant_drop.rs:41:13
@@ -59,11 +55,7 @@ help: add a dummy let to cause `t`, `t1` to be fully captured
59
55
|
60
56
LL ~ let c = || {
61
57
LL + let _ = (&t, &t1);
62
- LL +
63
- LL +
64
- LL +
65
- LL + let _t = t.0;
66
- ...
58
+ |
67
59
68
60
error: changes to closure capture in Rust 2021 will affect drop order
69
61
--> $DIR/insignificant_drop.rs:62:13
@@ -82,11 +74,7 @@ help: add a dummy let to cause `t` to be fully captured
82
74
|
83
75
LL ~ let c = || {
84
76
LL + let _ = &t;
85
- LL +
86
- LL +
87
- LL +
88
- LL + let _t = t.0;
89
- ...
77
+ |
90
78
91
79
error: changes to closure capture in Rust 2021 will affect drop order
92
80
--> $DIR/insignificant_drop.rs:83:13
@@ -105,11 +93,7 @@ help: add a dummy let to cause `t` to be fully captured
105
93
|
106
94
LL ~ let c = || {
107
95
LL + let _ = &t;
108
- LL +
109
- LL +
110
- LL +
111
- LL + let _t = t.0;
112
- ...
96
+ |
113
97
114
98
error: changes to closure capture in Rust 2021 will affect drop order
115
99
--> $DIR/insignificant_drop.rs:104:13
@@ -128,11 +112,7 @@ help: add a dummy let to cause `t` to be fully captured
128
112
|
129
113
LL ~ let c = || {
130
114
LL + let _ = &t;
131
- LL +
132
- LL +
133
- LL +
134
- LL + let _t = t.0;
135
- ...
115
+ |
136
116
137
117
error: changes to closure capture in Rust 2021 will affect drop order
138
118
--> $DIR/insignificant_drop.rs:122:13
@@ -156,11 +136,7 @@ help: add a dummy let to cause `t1`, `t` to be fully captured
156
136
|
157
137
LL ~ let c = move || {
158
138
LL + let _ = (&t1, &t);
159
- LL +
160
- LL +
161
- LL +
162
- LL + println!("{} {}", t1.1, t.1);
163
- ...
139
+ |
164
140
165
141
error: changes to closure capture in Rust 2021 will affect drop order
166
142
--> $DIR/insignificant_drop.rs:142:13
@@ -179,11 +155,7 @@ help: add a dummy let to cause `t` to be fully captured
179
155
|
180
156
LL ~ let c = || {
181
157
LL + let _ = &t;
182
- LL +
183
- LL +
184
- LL +
185
- LL + let _t = t.0;
186
- ...
158
+ |
187
159
188
160
error: aborting due to 7 previous errors
189
161
0 commit comments