]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/complex_types.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / complex_types.stderr
index 1c9106c0c219e89fa2a50215629c429885d2e9f2..8f5dbd27956c5326e60aae886b8bc9ddd4cc2fb0 100644 (file)
@@ -1,93 +1,93 @@
 error: very complex type used. Consider factoring parts into `type` definitions
--> $DIR/complex_types.rs:9:12
-  |
-9 | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
-  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-  |
-  = note: `-D clippy::type-complexity` implied by `-D warnings`
 --> $DIR/complex_types.rs:7:12
+   |
+LL | const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
+   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |
+   = note: `-D clippy::type-complexity` implied by `-D warnings`
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:10:12
+  --> $DIR/complex_types.rs:8:12
    |
-10 | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
+LL | static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:13:8
+  --> $DIR/complex_types.rs:11:8
    |
-13 |     f: Vec<Vec<Box<(u32, u32, u32, u32)>>>,
+LL |     f: Vec<Vec<Box<(u32, u32, u32, u32)>>>,
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:16:11
+  --> $DIR/complex_types.rs:14:11
    |
-16 | struct TS(Vec<Vec<Box<(u32, u32, u32, u32)>>>);
+LL | struct TS(Vec<Vec<Box<(u32, u32, u32, u32)>>>);
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:19:11
+  --> $DIR/complex_types.rs:17:11
    |
-19 |     Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>),
+LL |     Tuple(Vec<Vec<Box<(u32, u32, u32, u32)>>>),
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:20:17
+  --> $DIR/complex_types.rs:18:17
    |
-20 |     Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> },
+LL |     Struct { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> },
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:24:14
+  --> $DIR/complex_types.rs:22:14
    |
-24 |     const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
+LL |     const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0))));
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:25:30
+  --> $DIR/complex_types.rs:23:30
    |
-25 |     fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
+LL |     fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:29:14
+  --> $DIR/complex_types.rs:27:14
    |
-29 |     const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>;
+LL |     const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>;
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:30:14
+  --> $DIR/complex_types.rs:28:14
    |
-30 |     type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
+LL |     type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>;
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:31:25
+  --> $DIR/complex_types.rs:29:25
    |
-31 |     fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>);
+LL |     fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>);
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:32:29
+  --> $DIR/complex_types.rs:30:29
    |
-32 |     fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
+LL |     fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
-  --> $DIR/complex_types.rs:35:15
+  --> $DIR/complex_types.rs:33:15
    |
-35 | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> { vec![] }
+LL | fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> {
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
   --> $DIR/complex_types.rs:37:14
    |
-37 | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { }
+LL | fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: very complex type used. Consider factoring parts into `type` definitions
   --> $DIR/complex_types.rs:40:13
    |
-40 |     let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
+LL |     let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to 15 previous errors