1 error[E0382]: use of moved value
2 --> $DIR/track2.rs:LL:CC
4 LL | let _moved @ _from = String::from("foo");
5 | ^^^^^^ ----- ------------------- move occurs because value has type `String`, which does not implement the `Copy` trait
8 | value used here after move
9 -Ztrack-diagnostics: created at compiler/rustc_borrowck/src/borrowck_errors.rs:LL:CC
11 help: borrow this binding in the pattern to avoid moving the value
13 LL | let ref _moved @ ref _from = String::from("foo");
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0382`.