1
1
error: 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
3
3
|
4
4
LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -8,85 +8,85 @@ LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
8
8
= help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`
9
9
10
10
error: 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
12
12
|
13
13
LL | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
14
14
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
15
16
16
error: 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
18
18
|
19
19
LL | f: Vec<Vec<Box<(u32, u32, u32, u32)>>>,
20
20
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
21
22
22
error: 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
24
24
|
25
25
LL | struct Ts(Vec<Vec<Box<(u32, u32, u32, u32)>>>);
26
26
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27
27
28
28
error: 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
30
30
|
31
31
LL | Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>),
32
32
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33
33
34
34
error: 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
36
36
|
37
37
LL | Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> },
38
38
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39
39
40
40
error: 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
42
42
|
43
43
LL | const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
44
44
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45
45
46
46
error: 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
48
48
|
49
49
LL | fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
50
50
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51
51
52
52
error: 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
54
54
|
55
55
LL | const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>;
56
56
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
57
57
58
58
error: 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
60
60
|
61
61
LL | type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
62
62
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
63
63
64
64
error: 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
66
66
|
67
67
LL | fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>);
68
68
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69
69
70
70
error: 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
72
72
|
73
73
LL | fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
74
74
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75
75
76
76
error: 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
78
78
|
79
79
LL | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> {
80
80
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81
81
82
82
error: 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
84
84
|
85
85
LL | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
86
86
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87
87
88
88
error: 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
90
90
|
91
91
LL | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
92
92
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments