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   |
9   = note: move occurs because `t` has type `T`, which does not implement the `Copy` trait
10help: consider restricting type parameter `T`
11   |
12LL | fn foo<T: Copy>(t: T) {
13   |         ++++++
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0382`.
18