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