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