rust/tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs
2023-02-16 03:39:58 +00:00

5 lines
107 B
Rust

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