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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15: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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26: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
|
|
|
|
|
|
|
|
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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15: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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26: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
|
|
|
|
|
|
|
|
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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15: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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26: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
|
|
|
|
|
|
|
|
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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15: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: `]`
|
2021-08-27 05:57:28 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26: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
|
|
|
|
|
|
|
|
error[E0282]: type annotations needed
|
2022-08-16 01:27:22 -05:00
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:15:26
|
2020-03-10 18:24:34 -05:00
|
|
|
|
|
|
|
|
LL | V = [Vec::new; { [].len() ].len() as isize,
|
2022-08-16 01:27:22 -05:00
|
|
|
| ^^ cannot infer type for type parameter `T`
|
2020-03-10 18:24:34 -05:00
|
|
|
|
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/issue-67377-invalid-syntax-in-enum-discriminant.rs:26:14
|
|
|
|
|
|
|
|
|
LL | V = [Vec::new; { [0].len() ].len() as isize,
|
2022-02-14 06:25:26 -06:00
|
|
|
| ^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Vec`
|
|
|
|
|
|
|
|
|
help: consider specifying the generic argument
|
|
|
|
|
|
|
|
|
LL | V = [Vec::<T>::new; { [0].len() ].len() as isize,
|
|
|
|
| +++++
|
2020-03-10 18:24:34 -05:00
|
|
|
|
|
|
|
error: aborting due to 14 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|