mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
17 lines
760 B
Plaintext
17 lines
760 B
Plaintext
error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `:`
|
|
--> $DIR/diagnostics-parenthesized-type-arguments-ice-issue-122345.rs:3:33
|
|
|
|
|
LL | dealloc(ptr2, Layout::(x: !)(1, 1));
|
|
| --- ^ expected one of 7 possible tokens
|
|
| |
|
|
| while parsing this parenthesized list of type arguments starting here
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `)`
|
|
--> $DIR/diagnostics-parenthesized-type-arguments-ice-issue-122345.rs:3:43
|
|
|
|
|
LL | dealloc(ptr2, Layout::(x: !)(1, 1));
|
|
| ^ expected one of `.`, `;`, `?`, `}`, or an operator
|
|
|
|
error: aborting due to 2 previous errors
|
|
|