1 error[E0277]: the trait bound `usize: trait_bounds_on_structs_and_enums_xc::Trait` is not satisfied
2 --> $DIR/trait-bounds-on-structs-and-enums-xc.rs:7:1
4 LL | fn explode(x: Foo<usize>) {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `trait_bounds_on_structs_and_enums_xc::Trait` is not implemented for `usize`
7 = note: required by `trait_bounds_on_structs_and_enums_xc::Foo`
9 error[E0277]: the trait bound `f32: trait_bounds_on_structs_and_enums_xc::Trait` is not satisfied
10 --> $DIR/trait-bounds-on-structs-and-enums-xc.rs:10:1
12 LL | fn kaboom(y: Bar<f32>) {}
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `trait_bounds_on_structs_and_enums_xc::Trait` is not implemented for `f32`
15 = note: required by `trait_bounds_on_structs_and_enums_xc::Bar`
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0277`.