2025-02-18 01:16:16 +00:00
|
|
|
//@ compile-flags: --diagnostic-width=60 -Zwrite-long-types-to-disk=yes
|
2025-02-11 20:38:58 +08:00
|
|
|
|
2025-02-18 01:16:16 +00:00
|
|
|
type A = (i32, i32, i32, i32);
|
|
|
|
|
type B = (A, A, A, A);
|
|
|
|
|
type C = (B, B, B, B);
|
|
|
|
|
type D = (C, C, C, C);
|
|
|
|
|
|
|
|
|
|
fn foo(x: D) {
|
2025-02-18 03:54:04 +00:00
|
|
|
x.field; //~ ERROR no field `field` on type `(...
|
2025-02-18 01:16:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|