mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
239 B
Plaintext
9 lines
239 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 1 previous error
|
|
|