mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Fix rebase
This commit is contained in:
parent
5993f5d0f8
commit
53a711fdeb
@ -7,6 +7,11 @@ LL | let _moved @ _from = String::from("foo");
|
||||
| | value moved here
|
||||
| value used here after move
|
||||
-Ztrack-diagnostics: created at compiler/rustc_borrowck/src/borrowck_errors.rs:LL:CC
|
||||
|
|
||||
help: borrow this binding in the pattern to avoid moving the value
|
||||
|
|
||||
LL | let _moved @ ref _from = String::from("foo");
|
||||
| +++
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user