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