rust/tests/ui/traits/invalid_operator_trait.stderr
2023-01-11 09:32:08 +00:00

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