]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/issue-52893.stderr
fix various subst_identity vs skip_binder
[rust.git] / tests / ui / traits / issue-52893.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-52893.rs:53:22
3    |
4 LL | impl<F, Name, P> AddClass<Name, F> for Class<P>
5    |      - this type parameter
6 ...
7 LL |         builder.push(output);
8    |                 ---- ^^^^^^ expected type parameter `F`, found struct `Class`
9    |                 |
10    |                 arguments to this method are incorrect
11    |
12    = note: expected type parameter `F`
13                       found struct `Class<P>`
14 note: associated function defined here
15   --> $DIR/issue-52893.rs:11:8
16    |
17 LL |     fn push(self, other: T) -> Self::PushRes;
18    |        ^^^^
19
20 error: aborting due to previous error
21
22 For more information about this error, try `rustc --explain E0308`.