Debian Codegraph @

gcc/testsuite/rust/compile/torture/generics11.rs

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