summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/bad-universal-in-impl-sig.stderr
blob: 8b66627d57fe2fe7c5882281731554cc33c3b0de (plain)
1
2
3
4
5
6
7
8
error: associated type bounds are only allowed in where clauses and function signatures, not in impl headers
  --> $DIR/bad-universal-in-impl-sig.rs:10:16
   |
LL | impl dyn Trait<Item: Trait2> {}
   |                ^^^^^^^^^^^^

error: aborting due to previous error