@@ -73,22 +73,34 @@ LL | fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
7373 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7474
7575error: very complex type used. Consider factoring parts into `type` definitions
76- --> $DIR/type_complexity.rs:33:15
76+ --> $DIR/type_complexity.rs:34:14
77+ |
78+ LL | const A: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
79+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80+
81+ error: very complex type used. Consider factoring parts into `type` definitions
82+ --> $DIR/type_complexity.rs:38:25
83+ |
84+ LL | fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
85+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86+
87+ error: very complex type used. Consider factoring parts into `type` definitions
88+ --> $DIR/type_complexity.rs:41:15
7789 |
7890LL | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> {
7991 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8092
8193error: very complex type used. Consider factoring parts into `type` definitions
82- --> $DIR/type_complexity.rs:37 :14
94+ --> $DIR/type_complexity.rs:45 :14
8395 |
8496LL | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
8597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8698
8799error: very complex type used. Consider factoring parts into `type` definitions
88- --> $DIR/type_complexity.rs:40 :13
100+ --> $DIR/type_complexity.rs:48 :13
89101 |
90102LL | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
91103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
92104
93- error: aborting due to 15 previous errors
105+ error: aborting due to 17 previous errors
94106
0 commit comments