summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issues/issue-70971.rs
blob: c24259a71eb220f246cb9720d9129d667c1d2d04 (plain)
1
2
3
4
fn main() {
    let x : (impl Copy,) = (true,);
    //~^ `impl Trait` only allowed in function and inherent method argument and return types
}