error[E0271]: type mismatch resolving `::Assoc == u32` --> $DIR/wrong-projection-self-ty-invalid-bivariant-arg2.rs:15:5 | LL | Fail::::C | ^^^^^^^^^^^^^^^^ type mismatch resolving `::Assoc == u32` | note: expected this to be `u32` --> $DIR/wrong-projection-self-ty-invalid-bivariant-arg2.rs:5:18 | LL | type Assoc = T; | ^ note: required by a bound in `Fail` --> $DIR/wrong-projection-self-ty-invalid-bivariant-arg2.rs:8:21 | LL | struct Fail, U>(T); | ^^^^^^^^^ required by this bound in `Fail` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0271`.