summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/bad-universal-in-dyn-in-where-clause.stderr
blob: 6fa266d23d49b04883d632220518c01c1e294b4d (plain)
1
2
3
4
5
6
7
8
error: associated type bounds are only allowed in where clauses and function signatures, not in bounds
  --> $DIR/bad-universal-in-dyn-in-where-clause.rs:9:19
   |
LL |     dyn for<'j> B<AssocType: 'j>:,
   |                   ^^^^^^^^^^^^^

error: aborting due to previous error