@@ -73,22 +73,34 @@ LL | fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
73
73
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
74
75
75
error: 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
77
89
|
78
90
LL | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> {
79
91
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80
92
81
93
error: very complex type used. Consider factoring parts into `type` definitions
82
- --> $DIR/type_complexity.rs:37 :14
94
+ --> $DIR/type_complexity.rs:45 :14
83
95
|
84
96
LL | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
85
97
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
98
87
99
error: very complex type used. Consider factoring parts into `type` definitions
88
- --> $DIR/type_complexity.rs:40 :13
100
+ --> $DIR/type_complexity.rs:48 :13
89
101
|
90
102
LL | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
91
103
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
92
104
93
- error: aborting due to 15 previous errors
105
+ error: aborting due to 17 previous errors
94
106
0 commit comments