summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-type-bounds/binder-on-bound.stderr
blob: 3432672e03c4fb7b3bc56fa4cd0d92487358a606 (plain)
1
2
3
4
5
6
7
8
error: `for<...>` is not allowed on associated type bounds
  --> $DIR/binder-on-bound.rs:7:22
   |
LL | fn foo() where Trait<for<'a> Bound<'a> = &'a ()> {
   |                      ^^^^^^^^^^^^^^^^^

error: aborting due to previous error