]> git.lizzy.rs Git - rust.git/blob - src/test/ui/not-copy-closure.nll.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / not-copy-closure.nll.stderr
1 error[E0382]: use of moved value: `hello`
2   --> $DIR/not-copy-closure.rs:20:13
3    |
4 LL |     let b = hello;
5    |             ----- value moved here
6 LL |     let c = hello; //~ ERROR use of moved value: `hello` [E0382]
7    |             ^^^^^ value used here after move
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0382`.