]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/complex_types.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / complex_types.stderr
CommitLineData
ea8adc8c
XL
1error: very complex type used. Consider factoring parts into `type` definitions
2 --> $DIR/complex_types.rs:9:12
3 |
49 | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `-D type-complexity` implied by `-D warnings`
8
9error: very complex type used. Consider factoring parts into `type` definitions
10 --> $DIR/complex_types.rs:10:12
11 |
1210 | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15error: very complex type used. Consider factoring parts into `type` definitions
16 --> $DIR/complex_types.rs:13:8
17 |
1813 | f: Vec<Vec<Box<(u32, u32, u32, u32)>>>,
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21error: very complex type used. Consider factoring parts into `type` definitions
22 --> $DIR/complex_types.rs:16:11
23 |
2416 | struct TS(Vec<Vec<Box<(u32, u32, u32, u32)>>>);
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
27error: very complex type used. Consider factoring parts into `type` definitions
28 --> $DIR/complex_types.rs:19:11
29 |
3019 | Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>),
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32
33error: very complex type used. Consider factoring parts into `type` definitions
34 --> $DIR/complex_types.rs:20:17
35 |
3620 | Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> },
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
39error: very complex type used. Consider factoring parts into `type` definitions
40 --> $DIR/complex_types.rs:24:14
41 |
4224 | const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
45error: very complex type used. Consider factoring parts into `type` definitions
46 --> $DIR/complex_types.rs:25:30
47 |
4825 | fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
51error: very complex type used. Consider factoring parts into `type` definitions
52 --> $DIR/complex_types.rs:29:14
53 |
5429 | const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>;
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
57error: very complex type used. Consider factoring parts into `type` definitions
58 --> $DIR/complex_types.rs:30:14
59 |
6030 | type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
63error: very complex type used. Consider factoring parts into `type` definitions
64 --> $DIR/complex_types.rs:31:25
65 |
6631 | fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>);
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68
69error: very complex type used. Consider factoring parts into `type` definitions
70 --> $DIR/complex_types.rs:32:29
71 |
7232 | fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
73 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
75error: very complex type used. Consider factoring parts into `type` definitions
76 --> $DIR/complex_types.rs:35:15
77 |
7835 | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> { vec![] }
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80
81error: very complex type used. Consider factoring parts into `type` definitions
82 --> $DIR/complex_types.rs:37:14
83 |
8437 | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
85 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
87error: very complex type used. Consider factoring parts into `type` definitions
88 --> $DIR/complex_types.rs:40:13
89 |
9040 | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
92
2c00a5a8
XL
93error: aborting due to 15 previous errors
94