1 error[E0277]: the trait bound `usize: Trait` is not satisfied
2 --> $DIR/on-structs-and-enums-locals.rs:15:14
4 LL | struct Foo<T:Trait> {
5 | ----- required by this bound in `Foo`
7 LL | let baz: Foo<usize> = loop { };
8 | ^^^^^^^^^^ the trait `Trait` is not implemented for `usize`
10 error[E0277]: the trait bound `{integer}: Trait` is not satisfied
11 --> $DIR/on-structs-and-enums-locals.rs:10:15
14 | ^^^ the trait `Trait` is not implemented for `{integer}`
16 note: required by `Foo`
17 --> $DIR/on-structs-and-enums-locals.rs:5:1
19 LL | struct Foo<T:Trait> {
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0277`.