1
1
warning: relative drop order changing in Rust 2024
2
- --> $DIR/drop-order-comparisons.rs:77 :9
2
+ --> $DIR/drop-order-comparisons.rs:76 :9
3
3
|
4
4
LL | _ = ({
5
5
| _________-
@@ -50,14 +50,14 @@ LL | impl<'b> Drop for LogDrop<'b> {
50
50
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51
51
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
52
52
note: the lint level is defined here
53
- --> $DIR/drop-order-comparisons.rs:29 :25
53
+ --> $DIR/drop-order-comparisons.rs:28 :25
54
54
|
55
55
LL | #![cfg_attr(e2021, warn(rust_2024_compatibility))]
56
56
| ^^^^^^^^^^^^^^^^^^^^^^^
57
57
= note: `#[warn(tail_expr_drop_order)]` implied by `#[warn(rust_2024_compatibility)]`
58
58
59
59
warning: relative drop order changing in Rust 2024
60
- --> $DIR/drop-order-comparisons.rs:101 :45
60
+ --> $DIR/drop-order-comparisons.rs:100 :45
61
61
|
62
62
LL | _ = ({
63
63
| _________-
@@ -89,7 +89,7 @@ LL | impl<'b> Drop for LogDrop<'b> {
89
89
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
90
90
91
91
warning: relative drop order changing in Rust 2024
92
- --> $DIR/drop-order-comparisons.rs:101 :19
92
+ --> $DIR/drop-order-comparisons.rs:100 :19
93
93
|
94
94
LL | _ = ({
95
95
| _________-
@@ -121,7 +121,7 @@ LL | impl<'b> Drop for LogDrop<'b> {
121
121
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
122
122
123
123
warning: relative drop order changing in Rust 2024
124
- --> $DIR/drop-order-comparisons.rs:222 :24
124
+ --> $DIR/drop-order-comparisons.rs:221 :24
125
125
|
126
126
LL | _ = ({
127
127
| _________-
@@ -153,7 +153,7 @@ LL | impl<'b> Drop for LogDrop<'b> {
153
153
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
154
154
155
155
warning: relative drop order changing in Rust 2024
156
- --> $DIR/drop-order-comparisons.rs:248 :24
156
+ --> $DIR/drop-order-comparisons.rs:247 :24
157
157
|
158
158
LL | _ = ({
159
159
| _________-
@@ -185,7 +185,7 @@ LL | impl<'b> Drop for LogDrop<'b> {
185
185
= note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
186
186
187
187
warning: `if let` assigns a shorter lifetime since Edition 2024
188
- --> $DIR/drop-order-comparisons.rs:124 :13
188
+ --> $DIR/drop-order-comparisons.rs:123 :13
189
189
|
190
190
LL | _ = (if let Ok(_) = e.ok(4).as_ref() {
191
191
| ^^^^^^^^^^^^-------^^^^^^^^^
@@ -200,7 +200,7 @@ note: value invokes this custom destructor
200
200
LL | impl<'b> Drop for LogDrop<'b> {
201
201
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
202
202
help: the value is now dropped here in Edition 2024
203
- --> $DIR/drop-order-comparisons.rs:128 :5
203
+ --> $DIR/drop-order-comparisons.rs:127 :5
204
204
|
205
205
LL | }, e.mark(2), e.ok(3));
206
206
| ^
@@ -215,7 +215,7 @@ LL ~ } _ => {}}, e.mark(2), e.ok(3));
215
215
|
216
216
217
217
warning: `if let` assigns a shorter lifetime since Edition 2024
218
- --> $DIR/drop-order-comparisons.rs:146 :13
218
+ --> $DIR/drop-order-comparisons.rs:145 :13
219
219
|
220
220
LL | _ = (if let Ok(_) = e.err(4).as_ref() {} else {
221
221
| ^^^^^^^^^^^^--------^^^^^^^^^
@@ -230,7 +230,7 @@ note: value invokes this custom destructor
230
230
LL | impl<'b> Drop for LogDrop<'b> {
231
231
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
232
232
help: the value is now dropped here in Edition 2024
233
- --> $DIR/drop-order-comparisons.rs:146 :44
233
+ --> $DIR/drop-order-comparisons.rs:145 :44
234
234
|
235
235
LL | _ = (if let Ok(_) = e.err(4).as_ref() {} else {
236
236
| ^
@@ -244,7 +244,7 @@ LL ~ }}, e.mark(2), e.ok(3));
244
244
|
245
245
246
246
warning: `if let` assigns a shorter lifetime since Edition 2024
247
- --> $DIR/drop-order-comparisons.rs:248 :12
247
+ --> $DIR/drop-order-comparisons.rs:247 :12
248
248
|
249
249
LL | if let Ok(_) = e.err(4).as_ref() {} else {
250
250
| ^^^^^^^^^^^^--------^^^^^^^^^
@@ -259,7 +259,7 @@ note: value invokes this custom destructor
259
259
LL | impl<'b> Drop for LogDrop<'b> {
260
260
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261
261
help: the value is now dropped here in Edition 2024
262
- --> $DIR/drop-order-comparisons.rs:248 :43
262
+ --> $DIR/drop-order-comparisons.rs:247 :43
263
263
|
264
264
LL | if let Ok(_) = e.err(4).as_ref() {} else {
265
265
| ^
0 commit comments