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