fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0382]: use of moved value: `f` 2 --> $DIR/issue-12127.rs:11:9 3 | 4LL | f(); 5 | --- `f` moved due to this call 6LL | f(); 7 | ^ value used here after move 8 | 9note: this value implements `FnOnce`, which causes it to be moved when called 10 --> $DIR/issue-12127.rs:10:9 11 | 12LL | f(); 13 | ^ 14 = note: move occurs because `f` has type `{closure@$DIR/issue-12127.rs:8:24: 8:30}`, which does not implement the `Copy` trait 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0382`.