1 error[E0382]: use of moved value: `x`
2 --> $DIR/issue-34721.rs:27:9
4 LL | pub fn baz<T: Foo>(x: T) -> T {
5 | -- - move occurs because `x` has type `T`, which does not implement the `Copy` trait
7 | help: consider adding a `Copy` constraint to this type argument: `T: Copy +`
9 LL | bar::bar(x.zero())
16 | ^ value used here after move
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0382`.