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 | ^^^^^^^^^ expected `()`, found `u8`
7 note: required because of the requirements on the impl of `Test` for `()`
8 --> $DIR/projection-mismatch-in-impl-where-clause.rs:11:9
10 LL | impl<T> Test for T where T: Super<Assoc = ()> {}
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0271`.