summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/invalid_operator_trait.stderr
blob: 8c6e3695905ee8c3a14ce4372cdaddfdeda83f54 (plain)
1
2
3
4
5
6
7
8
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