about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-impl-trait-in-bindings.rs
blob: f6574b481203c3e8539c679f888642605bbb9420 (plain)
1
2
3
4
fn main() {
    let x: impl Sized = ();
    //~^ ERROR `impl Trait` is not allowed in the type of variable bindings
}