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