1 error[E0308]: mismatched types
2 --> $DIR/issue-52893.rs:53:22
4 LL | impl<F, Name, P> AddClass<Name, F> for Class<P>
5 | - this type parameter
7 LL | builder.push(output);
8 | ---- ^^^^^^ expected type parameter `F`, found struct `Class`
10 | arguments to this function are incorrect
12 = note: expected type parameter `F`
13 found struct `Class<P>`
14 note: associated function defined here
15 --> $DIR/issue-52893.rs:11:8
17 LL | fn push(self, other: T) -> Self::PushRes;
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0308`.