summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type/type-check/cannot_infer_local_or_vec_in_tuples.rs
blob: d21456439f0339a974d83cb6fbf1df8fb96fb43a (plain)
1
2
3
4
fn main() {
    let (x, ) = (vec![], );
    //~^ ERROR type annotations needed
}