fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `usize: Trait` is not satisfied 2 --> $DIR/on-structs-and-enums-static.rs:9:11 3 | 4LL | static X: Foo<usize> = Foo { 5 | ^^^^^^^^^^ the trait `Trait` is not implemented for `usize` 6 | 7help: this trait has no implementations, consider adding one 8 --> $DIR/on-structs-and-enums-static.rs:1:1 9 | 10LL | trait Trait { 11 | ^^^^^^^^^^^ 12note: required by a bound in `Foo` 13 --> $DIR/on-structs-and-enums-static.rs:5: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`.