fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0382]: use of moved value: `t` 2 --> $DIR/issue-67123.rs:2:13 3 | 4LL | || { t; t; }; 5 | - ^ value used here after move 6 | | 7 | value moved here 8 | 9help: consider restricting this type parameter with `T: Copy` 10 --> $DIR/issue-67123.rs:1:8 11 | 12LL | fn foo<T>(t: T) { 13 | ^ 14 = note: move occurs because `t` has type `T`, 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`.