fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0271]: type mismatch resolving `<() as Super>::Assoc == ()` 2 --> $DIR/projection-mismatch-in-impl-where-clause.rs:13:14 3 | 4LL | fn test() -> impl Test { 5 | ^^^^^^^^^ type mismatch resolving `<() as Super>::Assoc == ()` 6 | 7note: expected this to be `u8` 8 --> $DIR/projection-mismatch-in-impl-where-clause.rs:6:18 9 | 10LL | type Assoc = u8; 11 | ^^ 12note: required for `()` to implement `Test` 13 --> $DIR/projection-mismatch-in-impl-where-clause.rs:11:9 14 | 15LL | impl<T> Test for T where T: Super<Assoc = ()> {} 16 | ^^^^ ^ ---------- unsatisfied trait bound introduced here 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0271`.