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/nll/issue-54382-use-span-of-tail-of-block.nll.stderr
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ LL | }
12
12
LL |
13
13
LL | ;
14
14
| - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `D`
15
+
|
16
+
= note: The temporary is part of an expression at the end of a block. 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