fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/issue-52893.rs:53:22 3 | 4LL | impl<F, Name, P> AddClass<Name, F> for Class<P> 5 | - this type parameter 6... 7LL | builder.push(output); 8 | ---- ^^^^^^ expected type parameter `F`, found `Class<P>` 9 | | 10 | arguments to this method are incorrect 11 | 12 = note: expected type parameter `F` 13 found struct `Class<P>` 14help: the return type of this call is `Class<P>` due to the type of the argument passed 15 --> $DIR/issue-52893.rs:53:9 16 | 17LL | builder.push(output); 18 | ^^^^^^^^^^^^^------^ 19 | | 20 | this argument influences the return type of `push` 21note: method defined here 22 --> $DIR/issue-52893.rs:11:8 23 | 24LL | fn push(self, other: T) -> Self::PushRes; 25 | ^^^^ 26 27error: aborting due to previous error 28 29For more information about this error, try `rustc --explain E0308`.