fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `u16: Trait` is not satisfied 2 --> $DIR/on-structs-and-enums-in-impls.rs:20:6 3 | 4LL | impl PolyTrait<Foo<u16>> for Struct { 5 | ^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `u16` 6 | 7help: this trait has no implementations, consider adding one 8 --> $DIR/on-structs-and-enums-in-impls.rs:1:1 9 | 10LL | trait Trait {} 11 | ^^^^^^^^^^^ 12note: required by a bound in `Foo` 13 --> $DIR/on-structs-and-enums-in-impls.rs:3:14 14 | 15LL | struct Foo<T:Trait> { 16 | ^^^^^ required by this bound in `Foo` 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0277`.