summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issues/issue-70971.rs
blob: d4dc2fd877b67683141c81f7787ff0a613b6239e (plain)
1
2
3
4
fn main() {
    let x : (impl Copy,) = (true,);
    //~^ `impl Trait` not allowed outside of function and method return types
}