about summary refs log tree commit diff
path: root/tests/ui/trait-bounds/for-binder-placement-error-39089.stderr
blob: 12fcbc5757f9d61413b4c9bd3ec9f3424849e6d7 (plain)
1
2
3
4
5
6
7
8
9
10
error: `for<...>` binder should be placed before trait bound modifiers
  --> $DIR/for-binder-placement-error-39089.rs:1:13
   |
LL | fn f<T: ?for<'a> Sized>() {}
   |         -   ^^^^
   |         |
   |         place the `for<...>` binder before any modifiers

error: aborting due to 1 previous error