]> git.lizzy.rs Git - rust.git/blob - src/test/ui/track-diagnostics/track2.stderr
Auto merge of #102717 - beetrees:repr128-c-style-debuginfo, r=nagisa
[rust.git] / src / test / ui / track-diagnostics / track2.stderr
1 error[E0382]: use of moved value
2   --> $DIR/track2.rs:LL:CC
3    |
4 LL |     let _moved @ _from = String::from("foo");
5    |         ^^^^^^   -----   ------------------- move occurs because value has type `String`, which does not implement the `Copy` trait
6    |         |        |
7    |         |        value moved here
8    |         value used here after move
9 -Ztrack-diagnostics: created at compiler/rustc_borrowck/src/borrowck_errors.rs:LL:CC
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0382`.