You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
77
77
78
78
error: relative drop order changing in Rust 2024
79
-
--> $DIR/lint-tail-expr-drop-order.rs:93:7
79
+
--> $DIR/lint-tail-expr-drop-order.rs:92:7
80
80
|
81
81
LL | let x = LoudDropper;
82
82
| -
@@ -112,7 +112,7 @@ LL | | }
112
112
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
113
113
114
114
error: relative drop order changing in Rust 2024
115
-
--> $DIR/lint-tail-expr-drop-order.rs:146:5
115
+
--> $DIR/lint-tail-expr-drop-order.rs:145:5
116
116
|
117
117
LL | let future = f();
118
118
| ------
@@ -136,19 +136,12 @@ note: `#1` invokes this custom destructor
136
136
|
137
137
LL | / impl Drop for LoudDropper {
138
138
... |
139
-
LL | | }
140
-
| |_^
141
-
note: `future` invokes this custom destructor
142
-
--> $DIR/lint-tail-expr-drop-order.rs:10:1
143
-
|
144
-
LL | / impl Drop for LoudDropper {
145
-
... |
146
139
LL | | }
147
140
| |_^
148
141
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
149
142
150
143
error: relative drop order changing in Rust 2024
151
-
--> $DIR/lint-tail-expr-drop-order.rs:163:14
144
+
--> $DIR/lint-tail-expr-drop-order.rs:162:14
152
145
|
153
146
LL | let x = T::default();
154
147
| -
@@ -170,7 +163,7 @@ LL | }
170
163
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
171
164
172
165
error: relative drop order changing in Rust 2024
173
-
--> $DIR/lint-tail-expr-drop-order.rs:177:5
166
+
--> $DIR/lint-tail-expr-drop-order.rs:176:5
174
167
|
175
168
LL | let x: Result<LoudDropper, ()> = Ok(LoudDropper);
176
169
| -
@@ -206,7 +199,7 @@ LL | | }
206
199
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
207
200
208
201
error: relative drop order changing in Rust 2024
209
-
--> $DIR/lint-tail-expr-drop-order.rs:221:5
202
+
--> $DIR/lint-tail-expr-drop-order.rs:220:5
210
203
|
211
204
LL | let x = LoudDropper2;
212
205
| -
@@ -226,7 +219,7 @@ LL | }
226
219
= warning: this changes meaning in Rust 2024
227
220
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
228
221
note: `#1` invokes this custom destructor
229
-
--> $DIR/lint-tail-expr-drop-order.rs:194:5
222
+
--> $DIR/lint-tail-expr-drop-order.rs:193:5
230
223
|
231
224
LL | / impl Drop for LoudDropper3 {
232
225
LL | |
@@ -236,7 +229,7 @@ LL | | }
236
229
LL | | }
237
230
| |_____^
238
231
note: `x` invokes this custom destructor
239
-
--> $DIR/lint-tail-expr-drop-order.rs:206:5
232
+
--> $DIR/lint-tail-expr-drop-order.rs:205:5
240
233
|
241
234
LL | / impl Drop for LoudDropper2 {
242
235
LL | |
@@ -248,7 +241,7 @@ LL | | }
248
241
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
0 commit comments