11error: very complex type used. Consider factoring parts into `type` definitions
2- --> tests/ui/type_complexity.rs:9 :12
2+ --> tests/ui/type_complexity.rs:7 :12
33 |
44LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -8,85 +8,85 @@ LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
88 = help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`
99
1010error: very complex type used. Consider factoring parts into `type` definitions
11- --> tests/ui/type_complexity.rs:12 :12
11+ --> tests/ui/type_complexity.rs:10 :12
1212 |
1313LL | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
1414 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515
1616error: very complex type used. Consider factoring parts into `type` definitions
17- --> tests/ui/type_complexity.rs:16 :8
17+ --> tests/ui/type_complexity.rs:14 :8
1818 |
1919LL | f: Vec<Vec<Box<(u32, u32, u32, u32)>>>,
2020 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2121
2222error: very complex type used. Consider factoring parts into `type` definitions
23- --> tests/ui/type_complexity.rs:20 :11
23+ --> tests/ui/type_complexity.rs:18 :11
2424 |
2525LL | struct Ts(Vec<Vec<Box<(u32, u32, u32, u32)>>>);
2626 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2727
2828error: very complex type used. Consider factoring parts into `type` definitions
29- --> tests/ui/type_complexity.rs:24 :11
29+ --> tests/ui/type_complexity.rs:22 :11
3030 |
3131LL | Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>),
3232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3333
3434error: very complex type used. Consider factoring parts into `type` definitions
35- --> tests/ui/type_complexity.rs:26 :17
35+ --> tests/ui/type_complexity.rs:24 :17
3636 |
3737LL | Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> },
3838 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3939
4040error: very complex type used. Consider factoring parts into `type` definitions
41- --> tests/ui/type_complexity.rs:31 :14
41+ --> tests/ui/type_complexity.rs:29 :14
4242 |
4343LL | const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
4444 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4545
4646error: very complex type used. Consider factoring parts into `type` definitions
47- --> tests/ui/type_complexity.rs:33 :30
47+ --> tests/ui/type_complexity.rs:31 :30
4848 |
4949LL | fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
5050 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5151
5252error: very complex type used. Consider factoring parts into `type` definitions
53- --> tests/ui/type_complexity.rs:38 :14
53+ --> tests/ui/type_complexity.rs:36 :14
5454 |
5555LL | const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>;
5656 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5757
5858error: very complex type used. Consider factoring parts into `type` definitions
59- --> tests/ui/type_complexity.rs:40 :14
59+ --> tests/ui/type_complexity.rs:38 :14
6060 |
6161LL | type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
6262 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6363
6464error: very complex type used. Consider factoring parts into `type` definitions
65- --> tests/ui/type_complexity.rs:42 :25
65+ --> tests/ui/type_complexity.rs:40 :25
6666 |
6767LL | fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>);
6868 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6969
7070error: very complex type used. Consider factoring parts into `type` definitions
71- --> tests/ui/type_complexity.rs:44 :29
71+ --> tests/ui/type_complexity.rs:42 :29
7272 |
7373LL | fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
7474 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7575
7676error: very complex type used. Consider factoring parts into `type` definitions
77- --> tests/ui/type_complexity.rs:57 :15
77+ --> tests/ui/type_complexity.rs:55 :15
7878 |
7979LL | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> {
8080 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8181
8282error: very complex type used. Consider factoring parts into `type` definitions
83- --> tests/ui/type_complexity.rs:62 :14
83+ --> tests/ui/type_complexity.rs:60 :14
8484 |
8585LL | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
8686 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8787
8888error: very complex type used. Consider factoring parts into `type` definitions
89- --> tests/ui/type_complexity.rs:66 :13
89+ --> tests/ui/type_complexity.rs:64 :13
9090 |
9191LL | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
9292 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments