1 error[E0271]: type mismatch resolving `<() as Super>::Assoc == ()`
2 --> $DIR/projection-mismatch-in-impl-where-clause.rs:13:14
4 LL | fn test() -> impl Test {
5 | ^^^^^^^^^ type mismatch resolving `<() as Super>::Assoc == ()`
7 note: expected this to be `u8`
8 --> $DIR/projection-mismatch-in-impl-where-clause.rs:6:18
12 note: required because of the requirements on the impl of `Test` for `()`
13 --> $DIR/projection-mismatch-in-impl-where-clause.rs:11:9
15 LL | impl<T> Test for T where T: Super<Assoc = ()> {}
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0271`.