rust/tests/ui/feature-gates/feature-gate-non_lifetime_b...

5 lines
107 B
Rust

fn foo() where for<T> T:, {}
//~^ ERROR only lifetime parameters can be used in this context
fn main() {}