1 error[E0271]: type mismatch resolving `<<T as Trait>::A as MultiDispatch<i32>>::O == T`
2 --> $DIR/issue-24204.rs:24:1
4 LL | fn test<T: Trait<B=i32>>(b: i32) -> T where T::A: MultiDispatch<i32> { T::new(b) }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected associated type, found type parameter
7 = note: expected type `<<T as Trait>::A as MultiDispatch<i32>>::O`
9 note: required by `Trait`
10 --> $DIR/issue-24204.rs:17:1
12 LL | trait Trait: Sized {
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0271`.