]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/cross_inference.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / type-alias-impl-trait / cross_inference.rs
1 // check-pass
2
3 #![feature(type_alias_impl_trait)]
4
5 fn main() {
6     type T = impl Copy;
7     let foo: T = (1u32, 2u32);
8     let x: (_, _) = foo;
9     println!("{:?}", x);
10 }