]> git.lizzy.rs Git - rust.git/blob - src/test/ui/once-cant-call-twice-on-heap.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / once-cant-call-twice-on-heap.stderr
1 error[E0382]: use of moved value: `blk`
2   --> $DIR/once-cant-call-twice-on-heap.rs:19:5
3    |
4 LL |     blk();
5    |     --- value moved here
6 LL |     blk(); //~ ERROR use of moved value
7    |     ^^^ value used here after move
8    |
9    = note: move occurs because `blk` has type `F`, which does not implement the `Copy` trait
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0382`.