5 #![feature(associated_consts, associated_type_defaults)]
7 type Alias = Vec<Vec<Box<(u32, u32, u32, u32)>>>; // no warning here
9 const CST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); //~ERROR very complex type
10 static ST: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); //~ERROR very complex type
13 f: Vec<Vec<Box<(u32, u32, u32, u32)>>>, //~ERROR very complex type
16 struct TS(Vec<Vec<Box<(u32, u32, u32, u32)>>>); //~ERROR very complex type
19 V1(Vec<Vec<Box<(u32, u32, u32, u32)>>>), //~ERROR very complex type
20 V2 { f: Vec<Vec<Box<(u32, u32, u32, u32)>>> }, //~ERROR very complex type
24 const A: (u32, (u32, (u32, (u32, u32)))) = (0, (0, (0, (0, 0)))); //~ERROR very complex type
25 fn impl_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { } //~ERROR very complex type
29 const A: Vec<Vec<Box<(u32, u32, u32, u32)>>>; //~ERROR very complex type
30 type B = Vec<Vec<Box<(u32, u32, u32, u32)>>>; //~ERROR very complex type
31 fn method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>); //~ERROR very complex type
32 fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { } //~ERROR very complex type
35 fn test1() -> Vec<Vec<Box<(u32, u32, u32, u32)>>> { vec![] } //~ERROR very complex type
37 fn test2(_x: Vec<Vec<Box<(u32, u32, u32, u32)>>>) { } //~ERROR very complex type
40 let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![]; //~ERROR very complex type