rust/tests/ui/trait-bounds/for-binder-placement-error-39089.rs
2025-07-24 17:01:44 -04:00

7 lines
169 B
Rust

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