1 error: mismatched closing delimiter: `]`
2 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:5:42
4 LL | V = [PhantomData; { [ () ].len() ].len() as isize,
5 | - - ^ mismatched closing delimiter
8 | closing delimiter possibly meant for this
10 error: mismatched closing delimiter: `]`
11 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15:36
13 LL | V = [Vec::new; { [].len() ].len() as isize,
14 | - - ^ mismatched closing delimiter
16 | | unclosed delimiter
17 | closing delimiter possibly meant for this
19 error: mismatched closing delimiter: `]`
20 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26:36
22 LL | V = [Vec::new; { [0].len() ].len() as isize,
23 | - - ^ mismatched closing delimiter
25 | | unclosed delimiter
26 | closing delimiter possibly meant for this
28 error: mismatched closing delimiter: `]`
29 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:5:42
31 LL | V = [PhantomData; { [ () ].len() ].len() as isize,
32 | - - ^ mismatched closing delimiter
34 | | unclosed delimiter
35 | closing delimiter possibly meant for this
37 error: mismatched closing delimiter: `]`
38 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15:36
40 LL | V = [Vec::new; { [].len() ].len() as isize,
41 | - - ^ mismatched closing delimiter
43 | | unclosed delimiter
44 | closing delimiter possibly meant for this
46 error: mismatched closing delimiter: `]`
47 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26:36
49 LL | V = [Vec::new; { [0].len() ].len() as isize,
50 | - - ^ mismatched closing delimiter
52 | | unclosed delimiter
53 | closing delimiter possibly meant for this
55 error: mismatched closing delimiter: `]`
56 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:5:42
58 LL | V = [PhantomData; { [ () ].len() ].len() as isize,
59 | - - ^ mismatched closing delimiter
61 | | unclosed delimiter
62 | closing delimiter possibly meant for this
64 error: mismatched closing delimiter: `]`
65 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15:36
67 LL | V = [Vec::new; { [].len() ].len() as isize,
68 | - - ^ mismatched closing delimiter
70 | | unclosed delimiter
71 | closing delimiter possibly meant for this
73 error: mismatched closing delimiter: `]`
74 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26:36
76 LL | V = [Vec::new; { [0].len() ].len() as isize,
77 | - - ^ mismatched closing delimiter
79 | | unclosed delimiter
80 | closing delimiter possibly meant for this
82 error: mismatched closing delimiter: `]`
83 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:5:42
85 LL | V = [PhantomData; { [ () ].len() ].len() as isize,
86 | - - ^ mismatched closing delimiter
88 | | unclosed delimiter
89 | closing delimiter possibly meant for this
91 error: mismatched closing delimiter: `]`
92 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15:36
94 LL | V = [Vec::new; { [].len() ].len() as isize,
95 | - - ^ mismatched closing delimiter
97 | | unclosed delimiter
98 | closing delimiter possibly meant for this
100 error: mismatched closing delimiter: `]`
101 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26:36
103 LL | V = [Vec::new; { [0].len() ].len() as isize,
104 | - - ^ mismatched closing delimiter
106 | | unclosed delimiter
107 | closing delimiter possibly meant for this
109 error[E0282]: type annotations needed
110 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15:29
112 LL | V = [Vec::new; { [].len() ].len() as isize,
113 | ^^^ cannot infer type for type parameter `T`
115 error[E0282]: type annotations needed
116 --> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26:14
118 LL | V = [Vec::new; { [0].len() ].len() as isize,
119 | ^^^^^^^^ cannot infer type for type parameter `T`
121 error: aborting due to 14 previous errors
123 For more information about this error, try `rustc --explain E0282`.