1 2 3 4 5 6 7 8 9 10 11
#[lang = "sized"] pub trait Sized {} struct Foo<T>(T, u32); type TypeAlias = Foo<i32>; fn main() { let a: Foo<i32>; a = TypeAlias { 0: 123, 1: 456 }; }