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

error: aborting due to previous error