summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-precise-capturing.rs
blob: 47a21539d3779b6aecf2f80df7dbd22a0a3299be (plain)
1
2
3
4
fn hello() -> impl Sized + use<> {}
//~^ ERROR precise captures on `impl Trait` are experimental

fn main() {}