]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/complex_types.stderr
ea64a33cbabad7c4cb98b2478a94d6852abba745
[rust.git] / clippy_tests / examples / complex_types.stderr
1 error: very complex type used. Consider factoring parts into `type` definitions
2  --> complex_types.rs:9:12
3   |
4 9 | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
5   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `-D type-complexity` implied by `-D warnings`
8
9 error: very complex type used. Consider factoring parts into `type` definitions
10   --> complex_types.rs:10:12
11    |
12 10 | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
13    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: `-D type-complexity` implied by `-D warnings`
16
17 error: very complex type used. Consider factoring parts into `type` definitions
18   --> complex_types.rs:13:8
19    |
20 13 |     f: Vec<Vec<Box<(u32, u32, u32, u32)>>>,
21    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = note: `-D type-complexity` implied by `-D warnings`
24
25 error: very complex type used. Consider factoring parts into `type` definitions
26   --> complex_types.rs:16:11
27    |
28 16 | struct TS(Vec<Vec<Box<(u32, u32, u32, u32)>>>);
29    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30    |
31    = note: `-D type-complexity` implied by `-D warnings`
32
33 error: very complex type used. Consider factoring parts into `type` definitions
34   --> complex_types.rs:19:11
35    |
36 19 |     Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>),
37    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38    |
39    = note: `-D type-complexity` implied by `-D warnings`
40
41 error: very complex type used. Consider factoring parts into `type` definitions
42   --> complex_types.rs:20:17
43    |
44 20 |     Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> },
45    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46    |
47    = note: `-D type-complexity` implied by `-D warnings`
48
49 error: very complex type used. Consider factoring parts into `type` definitions
50   --> complex_types.rs:24:14
51    |
52 24 |     const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
53    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54    |
55    = note: `-D type-complexity` implied by `-D warnings`
56
57 error: very complex type used. Consider factoring parts into `type` definitions
58   --> complex_types.rs:25:30
59    |
60 25 |     fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
61    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62    |
63    = note: `-D type-complexity` implied by `-D warnings`
64
65 error: very complex type used. Consider factoring parts into `type` definitions
66   --> complex_types.rs:29:14
67    |
68 29 |     const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>;
69    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70    |
71    = note: `-D type-complexity` implied by `-D warnings`
72
73 error: very complex type used. Consider factoring parts into `type` definitions
74   --> complex_types.rs:30:14
75    |
76 30 |     type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
77    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78    |
79    = note: `-D type-complexity` implied by `-D warnings`
80
81 error: very complex type used. Consider factoring parts into `type` definitions
82   --> complex_types.rs:31:25
83    |
84 31 |     fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>);
85    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86    |
87    = note: `-D type-complexity` implied by `-D warnings`
88
89 error: very complex type used. Consider factoring parts into `type` definitions
90   --> complex_types.rs:32:29
91    |
92 32 |     fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
93    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
94    |
95    = note: `-D type-complexity` implied by `-D warnings`
96
97 error: very complex type used. Consider factoring parts into `type` definitions
98   --> complex_types.rs:35:15
99    |
100 35 | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> { vec![] }
101    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102    |
103    = note: `-D type-complexity` implied by `-D warnings`
104
105 error: very complex type used. Consider factoring parts into `type` definitions
106   --> complex_types.rs:37:14
107    |
108 37 | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
109    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110    |
111    = note: `-D type-complexity` implied by `-D warnings`
112
113 error: very complex type used. Consider factoring parts into `type` definitions
114   --> complex_types.rs:40:13
115    |
116 40 |     let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
117    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
118    |
119    = note: `-D type-complexity` implied by `-D warnings`
120
121 error: aborting due to previous error(s)
122
123 error: Could not compile `clippy_tests`.
124
125 To learn more, run the command again with --verbose.