summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/invalid_operator_trait.stderr
blob: f2e5e9080b16ebbbf88e22a1d890929eebe28cab (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 1 previous error