1- error: drop order will change in Rust 2021
1+ error: changes to closure capture in Rust 2021 will affect drop order
22 --> $DIR/insignificant_drop.rs:15:13
33 |
44LL | let c = || {
3535LL | let _t = t.0;
3636 ...
3737
38- error: drop order will change in Rust 2021
38+ error: changes to closure capture in Rust 2021 will affect drop order
3939 --> $DIR/insignificant_drop.rs:38:13
4040 |
4141LL | let c = || {
@@ -64,7 +64,7 @@ LL | let _t = t.0;
6464LL |
6565 ...
6666
67- error: drop order will change in Rust 2021
67+ error: changes to closure capture in Rust 2021 will affect drop order
6868 --> $DIR/insignificant_drop.rs:57:13
6969 |
7070LL | let c = || {
@@ -90,7 +90,7 @@ LL | let _t = t.0;
9090LL |
9191 ...
9292
93- error: drop order will change in Rust 2021
93+ error: changes to closure capture in Rust 2021 will affect drop order
9494 --> $DIR/insignificant_drop.rs:77:13
9595 |
9696LL | let c = || {
@@ -116,7 +116,7 @@ LL | let _t = t.0;
116116LL |
117117 ...
118118
119- error: drop order will change in Rust 2021
119+ error: changes to closure capture in Rust 2021 will affect drop order
120120 --> $DIR/insignificant_drop.rs:97:13
121121 |
122122LL | let c = || {
@@ -142,7 +142,7 @@ LL | let _t = t.0;
142142LL |
143143 ...
144144
145- error: drop order will change in Rust 2021
145+ error: changes to closure capture in Rust 2021 will affect drop order
146146 --> $DIR/insignificant_drop.rs:114:13
147147 |
148148LL | let c = move || {
@@ -170,7 +170,7 @@ LL | println!("{} {}", t1.1, t.1);
170170LL |
171171 ...
172172
173- error: drop order will change in Rust 2021
173+ error: changes to closure capture in Rust 2021 will affect drop order
174174 --> $DIR/insignificant_drop.rs:132:13
175175 |
176176LL | let c = || {
0 commit comments