summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/cross_inference.rs
blob: dafaf40a69df43dad9efd01487df42e0c09881a7 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

#![feature(type_alias_impl_trait)]

fn main() {
    type T = impl Copy;
    let foo: T = (1u32, 2u32);
    let x: (_, _) = foo;
    println!("{:?}", x);
}