fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `A<_>: Bar<_>` is not satisfied 2 --> $DIR/unused-substs-1.rs:12:13 3 | 4LL | let _ = A; 5 | ^ the trait `Bar<_>` is not implemented for `A<_>` 6 | 7 = help: the trait `Bar<_>` is implemented for `A<7>` 8note: required by a bound in `A` 9 --> $DIR/unused-substs-1.rs:9:11 10 | 11LL | struct A<const N: usize> 12 | - required by a bound in this unit struct 13LL | where 14LL | A<N>: Bar<N>; 15 | ^^^^^^ required by this bound in `A` 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0277`.