summary refs log tree commit diff
path: root/tests/ui/trait-bounds/for-binder-placement-error-39089.rs
blob: 47976bdfff45a907bebd2511219885607d4853df (plain)
1
2
3
4
5
6
fn f<T: ?for<'a> Sized>() {}
//~^ ERROR `for<...>` binder should be placed before trait bound modifiers

fn main() {}

// https://github.com/rust-lang/rust/issues/39089