blob: fc6e47b0fdecca8f2ffc20e0d279546a90c117be [file]
//@ compile-flags: --diagnostic-width=60 -Zwrite-long-types-to-disk=yes
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) {
x + x; //~ ERROR cannot add `((_
}
fn bar(x: D) {
!x; //~ ERROR cannot apply unary operator `!` to type `((_
}
fn main() {}