about summary refs log tree commit diff
path: root/tests/ui/type-alias-impl-trait/destructuring.rs
blob: 5122522dca6573764ff0d0af9894afb42362c995 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(type_alias_impl_trait)]

//@ check-pass

// issue: https://github.com/rust-lang/rust/issues/104551

fn main() {
    type T = impl Sized;
    let (_a, _b): T = (1u32, 2u32);
}