mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
9 lines
237 B
Plaintext
9 lines
237 B
Plaintext
error: `add` must not have any generic parameters
|
|
--> $DIR/invalid_operator_trait.rs:15:5
|
|
|
|
|
LL | fn add<Y>(self, _: RHS) -> Self::Output;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|