Skip to content

Commit 53a711f

Browse files
committed
Fix rebase
1 parent 5993f5d commit 53a711f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/ui/track-diagnostics/track2.stderr

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ LL | let _moved @ _from = String::from("foo");
77
| | value moved here
88
| value used here after move
99
-Ztrack-diagnostics: created at compiler/rustc_borrowck/src/borrowck_errors.rs:LL:CC
10+
|
11+
help: borrow this binding in the pattern to avoid moving the value
12+
|
13+
LL | let _moved @ ref _from = String::from("foo");
14+
| +++
1015

1116
error: aborting due to previous error
1217

0 commit comments

Comments
 (0)