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
Copy file name to clipboardExpand all lines: src/test/ui/borrowck/issue-82462.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | v.push(*x);
10
10
| ^^^^^^^^^^ mutable borrow occurs here
11
11
LL | break;
12
12
LL | }
13
-
| - ... and the immutable borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DroppingSlice`
13
+
| - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `DroppingSlice`
14
14
|
15
15
help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
Copy file name to clipboardExpand all lines: src/test/ui/nll/issue-54382-use-span-of-tail-of-block.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ LL | }
11
11
| - `_thing1` dropped here while still borrowed
12
12
LL |
13
13
LL | ;
14
-
| - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `D`
14
+
| - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `D`
15
15
|
16
16
help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
Copy file name to clipboardExpand all lines: src/test/ui/nll/issue-54556-temps-in-tail-diagnostic.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | }
10
10
| - `_thing1` dropped here while still borrowed
11
11
LL |
12
12
LL | ;
13
-
| - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `D`
13
+
| - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `D`
14
14
|
15
15
help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
0 commit comments