rust/tests/ui/feature-gates/feature-gate-precise-capturing.rs
2024-04-15 16:45:26 -04:00

5 lines
109 B
Rust

fn hello() -> impl use<> Sized {}
//~^ ERROR precise captures on `impl Trait` are experimental
fn main() {}