about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/binding-without-value.rs
blob: 6a97f28ff552b3a76c5f4743b8d980dcddaf97b1 (plain)
1
2
3
4
5
6
7
8
9
#![allow(incomplete_features)]
#![feature(impl_trait_in_bindings)]

fn foo() {
    let _ : impl Copy;
    //~^ ERROR cannot resolve opaque type
}

fn main() {}