1 error[E0277]: the trait bound `f64: Trait` is not satisfied
2 --> $DIR/on-structs-and-enums-xc1.rs:12:14
4 LL | let bar: Bar<f64> = return;
5 | ^^^^^^^^ the trait `Trait` is not implemented for `f64`
7 ::: $DIR/auxiliary/on_structs_and_enums_xc.rs:9:16
9 LL | pub enum Bar<T:Trait> {
10 | ----- required by this bound in `Bar`
12 error[E0277]: the trait bound `{integer}: Trait` is not satisfied
13 --> $DIR/on-structs-and-enums-xc1.rs:8:15
16 | ^^^ the trait `Trait` is not implemented for `{integer}`
18 = note: required by `Foo`
20 error: aborting due to 2 previous errors
22 For more information about this error, try `rustc --explain E0277`.