2020-03-10 18:24:34 -05:00
|
|
|
error: mismatched closing delimiter: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:5:27
|
2020-03-10 18:24:34 -05:00
|
|
|
|
|
|
|
|
LL | V = [PhantomData; { [ () ].len() ].len() as isize,
|
2021-08-27 05:57:28 -05:00
|
|
|
| - ^ ^ mismatched closing delimiter
|
2020-03-10 18:24:34 -05:00
|
|
|
| | |
|
|
|
|
| | unclosed delimiter
|
|
|
|
| closing delimiter possibly meant for this
|
|
|
|
|
|
|
|
error: mismatched closing delimiter: `]`
|
2023-02-28 01:55:19 -06:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:12:24
|
2020-03-10 18:24:34 -05:00
|
|
|
|
|
|
|
|
LL | V = [Vec::new; { [].len() ].len() as isize,
|
2021-08-27 05:57:28 -05:00
|
|
|
| - ^ ^ mismatched closing delimiter
|
2020-03-10 18:24:34 -05:00
|
|
|
| | |
|
|
|
|
| | unclosed delimiter
|
|
|
|
| closing delimiter possibly meant for this
|
|
|
|
|
|
|
|
error: mismatched closing delimiter: `]`
|
2023-02-28 01:55:19 -06:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:19:24
|
2020-03-10 18:24:34 -05:00
|
|
|
|
|
|
|
|
LL | V = [Vec::new; { [0].len() ].len() as isize,
|
2021-08-27 05:57:28 -05:00
|
|
|
| - ^ ^ mismatched closing delimiter
|
2020-03-10 18:24:34 -05:00
|
|
|
| | |
|
|
|
|
| | unclosed delimiter
|
|
|
|
| closing delimiter possibly meant for this
|
|
|
|
|
2023-02-28 01:56:34 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:23:65
|
|
|
|
|
|
|
|
|
LL | V = [PhantomData; { [ () ].len() ].len() as isize,
|
|
|
|
| - missing open `[` for this delimiter
|
|
|
|
...
|
|
|
|
LL | V = [Vec::new; { [].len() ].len() as isize,
|
|
|
|
| - missing open `[` for this delimiter
|
|
|
|
...
|
|
|
|
LL | mod c {
|
|
|
|
| - unclosed delimiter
|
|
|
|
LL | enum Bug {
|
|
|
|
LL | V = [Vec::new; { [0].len() ].len() as isize,
|
|
|
|
| - missing open `[` for this delimiter
|
|
|
|
...
|
|
|
|
LL | fn main() {}
|
|
|
|
| ^
|
|
|
|
|
2023-02-28 01:55:19 -06:00
|
|
|
error: aborting due to 4 previous errors
|
2020-03-10 18:24:34 -05:00
|
|
|
|