]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12127.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-12127.stderr
1 error[E0382]: use of moved value: `f`
2   --> $DIR/issue-12127.rs:21:9
3    |
4 LL |         f();
5    |         - value moved here
6 LL |         f();
7    |         ^ value used here after move
8    |
9    = note: move occurs because `f` has type `[closure@$DIR/issue-12127.rs:18:24: 18:41 x:std::boxed::Box<isize>]`, 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`.