1 error[E0382]: use of moved value: `t`
2 --> $DIR/issue-67123.rs:2:13
5 | - ^ value used here after move
9 = note: move occurs because `t` has type `T`, which does not implement the `Copy` trait
10 help: consider restricting type parameter `T`
12 LL | fn foo<T: Copy>(t: T) {
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0382`.