fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
452 B13 linesraw
1error[E0382]: use of moved value: `f`
2  --> $DIR/issue-12127.rs:11:9
3   |
4LL |         f();
5   |         - value moved here
6LL |         f();
7   |         ^ value used here after move
8   |
9   = note: move occurs because `f` has type `[closure@$DIR/issue-12127.rs:8:24: 8:41 x:std::boxed::Box<isize>]`, which does not implement the `Copy` trait
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0382`.