2022-07-18 18:25:14 -05:00
|
|
|
error[E0277]: the trait bound `A<_>: Bar<_>` is not satisfied
|
2021-01-24 13:08:12 -06:00
|
|
|
--> $DIR/unused-substs-1.rs:12:13
|
|
|
|
|
|
2021-07-17 13:13:50 -05:00
|
|
|
LL | let _ = A;
|
2022-07-18 18:25:14 -05:00
|
|
|
| ^ the trait `Bar<_>` is not implemented for `A<_>`
|
2021-01-24 13:08:12 -06:00
|
|
|
|
|
2022-07-18 18:25:14 -05:00
|
|
|
= help: the trait `Bar<N>` is implemented for `A<7>`
|
2021-10-05 18:04:09 -05:00
|
|
|
note: required by a bound in `A`
|
|
|
|
--> $DIR/unused-substs-1.rs:9:11
|
2021-07-17 13:13:50 -05:00
|
|
|
|
|
2022-04-09 05:31:20 -05:00
|
|
|
LL | struct A<const N: usize>
|
|
|
|
| - required by a bound in this
|
|
|
|
LL | where
|
2021-10-05 18:04:09 -05:00
|
|
|
LL | A<N>: Bar<N>;
|
|
|
|
| ^^^^^^ required by this bound in `A`
|
2021-01-24 13:08:12 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|