11error: relative drop order changing in Rust 2024
2- --> $DIR/lint-tail-expr-drop-order.rs:42 :15
2+ --> $DIR/lint-tail-expr-drop-order.rs:41 :15
33 |
44LL | let x = LoudDropper;
55 | -
@@ -19,28 +19,28 @@ LL | }
1919 = warning: this changes meaning in Rust 2024
2020 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
2121note: `#1` invokes this custom destructor
22- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
22+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
2323 |
2424LL | / impl Drop for LoudDropper {
2525... |
2626LL | | }
2727 | |_^
2828note: `x` invokes this custom destructor
29- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
29+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
3030 |
3131LL | / impl Drop for LoudDropper {
3232... |
3333LL | | }
3434 | |_^
3535 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
3636note: the lint level is defined here
37- --> $DIR/lint-tail-expr-drop-order.rs:7 :9
37+ --> $DIR/lint-tail-expr-drop-order.rs:6 :9
3838 |
3939LL | #![deny(tail_expr_drop_order)]
4040 | ^^^^^^^^^^^^^^^^^^^^
4141
4242error: relative drop order changing in Rust 2024
43- --> $DIR/lint-tail-expr-drop-order.rs:67 :19
43+ --> $DIR/lint-tail-expr-drop-order.rs:66 :19
4444 |
4545LL | let x = LoudDropper;
4646 | -
@@ -60,14 +60,14 @@ LL | }
6060 = warning: this changes meaning in Rust 2024
6161 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
6262note: `#1` invokes this custom destructor
63- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
63+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
6464 |
6565LL | / impl Drop for LoudDropper {
6666... |
6767LL | | }
6868 | |_^
6969note: `x` invokes this custom destructor
70- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
70+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
7171 |
7272LL | / impl Drop for LoudDropper {
7373... |
@@ -76,7 +76,7 @@ LL | | }
7676 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
7777
7878error: relative drop order changing in Rust 2024
79- --> $DIR/lint-tail-expr-drop-order.rs:94 :7
79+ --> $DIR/lint-tail-expr-drop-order.rs:93 :7
8080 |
8181LL | let x = LoudDropper;
8282 | -
@@ -96,14 +96,14 @@ LL | }
9696 = warning: this changes meaning in Rust 2024
9797 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
9898note: `#1` invokes this custom destructor
99- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
99+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
100100 |
101101LL | / impl Drop for LoudDropper {
102102... |
103103LL | | }
104104 | |_^
105105note: `x` invokes this custom destructor
106- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
106+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
107107 |
108108LL | / impl Drop for LoudDropper {
109109... |
@@ -112,7 +112,7 @@ LL | | }
112112 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
113113
114114error: relative drop order changing in Rust 2024
115- --> $DIR/lint-tail-expr-drop-order.rs:147 :5
115+ --> $DIR/lint-tail-expr-drop-order.rs:146 :5
116116 |
117117LL | let future = f();
118118 | ------
@@ -132,14 +132,14 @@ LL | }
132132 = warning: this changes meaning in Rust 2024
133133 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
134134note: `#1` invokes this custom destructor
135- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
135+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
136136 |
137137LL | / impl Drop for LoudDropper {
138138... |
139139LL | | }
140140 | |_^
141141note: `future` invokes this custom destructor
142- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
142+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
143143 |
144144LL | / impl Drop for LoudDropper {
145145... |
@@ -148,7 +148,7 @@ LL | | }
148148 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
149149
150150error: relative drop order changing in Rust 2024
151- --> $DIR/lint-tail-expr-drop-order.rs:164 :14
151+ --> $DIR/lint-tail-expr-drop-order.rs:163 :14
152152 |
153153LL | let x = T::default();
154154 | -
@@ -170,7 +170,7 @@ LL | }
170170 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
171171
172172error: relative drop order changing in Rust 2024
173- --> $DIR/lint-tail-expr-drop-order.rs:178 :5
173+ --> $DIR/lint-tail-expr-drop-order.rs:177 :5
174174 |
175175LL | let x: Result<LoudDropper, ()> = Ok(LoudDropper);
176176 | -
@@ -190,14 +190,14 @@ LL | }
190190 = warning: this changes meaning in Rust 2024
191191 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
192192note: `#1` invokes this custom destructor
193- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
193+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
194194 |
195195LL | / impl Drop for LoudDropper {
196196... |
197197LL | | }
198198 | |_^
199199note: `x` invokes this custom destructor
200- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
200+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
201201 |
202202LL | / impl Drop for LoudDropper {
203203... |
@@ -206,7 +206,7 @@ LL | | }
206206 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
207207
208208error: relative drop order changing in Rust 2024
209- --> $DIR/lint-tail-expr-drop-order.rs:222 :5
209+ --> $DIR/lint-tail-expr-drop-order.rs:221 :5
210210 |
211211LL | let x = LoudDropper2;
212212 | -
@@ -226,7 +226,7 @@ LL | }
226226 = warning: this changes meaning in Rust 2024
227227 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
228228note: `#1` invokes this custom destructor
229- --> $DIR/lint-tail-expr-drop-order.rs:195 :5
229+ --> $DIR/lint-tail-expr-drop-order.rs:194 :5
230230 |
231231LL | / impl Drop for LoudDropper3 {
232232LL | |
@@ -236,7 +236,7 @@ LL | | }
236236LL | | }
237237 | |_____^
238238note: `x` invokes this custom destructor
239- --> $DIR/lint-tail-expr-drop-order.rs:207 :5
239+ --> $DIR/lint-tail-expr-drop-order.rs:206 :5
240240 |
241241LL | / impl Drop for LoudDropper2 {
242242LL | |
@@ -248,7 +248,7 @@ LL | | }
248248 = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
249249
250250error: relative drop order changing in Rust 2024
251- --> $DIR/lint-tail-expr-drop-order.rs:235 :13
251+ --> $DIR/lint-tail-expr-drop-order.rs:234 :13
252252 |
253253LL | LoudDropper.get()
254254 | ^^^^^^^^^^^
@@ -268,14 +268,14 @@ LL | ));
268268 = warning: this changes meaning in Rust 2024
269269 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-tail-expr-scope.html>
270270note: `#1` invokes this custom destructor
271- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
271+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
272272 |
273273LL | / impl Drop for LoudDropper {
274274... |
275275LL | | }
276276 | |_^
277277note: `_x` invokes this custom destructor
278- --> $DIR/lint-tail-expr-drop-order.rs:11 :1
278+ --> $DIR/lint-tail-expr-drop-order.rs:10 :1
279279 |
280280LL | / impl Drop for LoudDropper {
281281... |
0 commit comments