|
1 | 1 | error: very complex type used. Consider factoring parts into `type` definitions |
2 | | - --> $DIR/complex_types.rs:7:12 |
| 2 | + --> $DIR/type_complexity.rs:7:12 |
3 | 3 | | |
4 | 4 | LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | 7 | = note: `-D clippy::type-complexity` implied by `-D warnings` |
8 | 8 |
|
9 | 9 | error: very complex type used. Consider factoring parts into `type` definitions |
10 | | - --> $DIR/complex_types.rs:8:12 |
| 10 | + --> $DIR/type_complexity.rs:8:12 |
11 | 11 | | |
12 | 12 | LL | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); |
13 | 13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
14 | 14 |
|
15 | 15 | error: very complex type used. Consider factoring parts into `type` definitions |
16 | | - --> $DIR/complex_types.rs:11:8 |
| 16 | + --> $DIR/type_complexity.rs:11:8 |
17 | 17 | | |
18 | 18 | LL | f: Vec<Vec<Box<(u32, u32, u32, u32)>>>, |
19 | 19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
20 | 20 |
|
21 | 21 | error: very complex type used. Consider factoring parts into `type` definitions |
22 | | - --> $DIR/complex_types.rs:14:11 |
| 22 | + --> $DIR/type_complexity.rs:14:11 |
23 | 23 | | |
24 | 24 | LL | struct Ts(Vec<Vec<Box<(u32, u32, u32, u32)>>>); |
25 | 25 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
26 | 26 |
|
27 | 27 | error: very complex type used. Consider factoring parts into `type` definitions |
28 | | - --> $DIR/complex_types.rs:17:11 |
| 28 | + --> $DIR/type_complexity.rs:17:11 |
29 | 29 | | |
30 | 30 | LL | Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>), |
31 | 31 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
32 | 32 |
|
33 | 33 | error: very complex type used. Consider factoring parts into `type` definitions |
34 | | - --> $DIR/complex_types.rs:18:17 |
| 34 | + --> $DIR/type_complexity.rs:18:17 |
35 | 35 | | |
36 | 36 | LL | Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> }, |
37 | 37 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
38 | 38 |
|
39 | 39 | error: very complex type used. Consider factoring parts into `type` definitions |
40 | | - --> $DIR/complex_types.rs:22:14 |
| 40 | + --> $DIR/type_complexity.rs:22:14 |
41 | 41 | | |
42 | 42 | LL | const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); |
43 | 43 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
44 | 44 |
|
45 | 45 | error: very complex type used. Consider factoring parts into `type` definitions |
46 | | - --> $DIR/complex_types.rs:23:30 |
| 46 | + --> $DIR/type_complexity.rs:23:30 |
47 | 47 | | |
48 | 48 | LL | fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {} |
49 | 49 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
50 | 50 |
|
51 | 51 | error: very complex type used. Consider factoring parts into `type` definitions |
52 | | - --> $DIR/complex_types.rs:27:14 |
| 52 | + --> $DIR/type_complexity.rs:27:14 |
53 | 53 | | |
54 | 54 | LL | const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>; |
55 | 55 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
56 | 56 |
|
57 | 57 | error: very complex type used. Consider factoring parts into `type` definitions |
58 | | - --> $DIR/complex_types.rs:28:14 |
| 58 | + --> $DIR/type_complexity.rs:28:14 |
59 | 59 | | |
60 | 60 | LL | type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>; |
61 | 61 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
62 | 62 |
|
63 | 63 | error: very complex type used. Consider factoring parts into `type` definitions |
64 | | - --> $DIR/complex_types.rs:29:25 |
| 64 | + --> $DIR/type_complexity.rs:29:25 |
65 | 65 | | |
66 | 66 | LL | fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>); |
67 | 67 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
68 | 68 |
|
69 | 69 | error: very complex type used. Consider factoring parts into `type` definitions |
70 | | - --> $DIR/complex_types.rs:30:29 |
| 70 | + --> $DIR/type_complexity.rs:30:29 |
71 | 71 | | |
72 | 72 | 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/complex_types.rs:33:15 |
| 76 | + --> $DIR/type_complexity.rs:33:15 |
77 | 77 | | |
78 | 78 | LL | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> { |
79 | 79 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
80 | 80 |
|
81 | 81 | error: very complex type used. Consider factoring parts into `type` definitions |
82 | | - --> $DIR/complex_types.rs:37:14 |
| 82 | + --> $DIR/type_complexity.rs:37:14 |
83 | 83 | | |
84 | 84 | LL | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {} |
85 | 85 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
86 | 86 |
|
87 | 87 | error: very complex type used. Consider factoring parts into `type` definitions |
88 | | - --> $DIR/complex_types.rs:40:13 |
| 88 | + --> $DIR/type_complexity.rs:40:13 |
89 | 89 | | |
90 | 90 | LL | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![]; |
91 | 91 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
0 commit comments