Rollup merge of #66471 - Alexendoo:test-issue-63116, r=Centril
Add test for issue 63116 Closes #63116
This commit is contained in:
commit
750dd03a23
3
src/test/ui/parser/issue-63116.rs
Normal file
3
src/test/ui/parser/issue-63116.rs
Normal file
@ -0,0 +1,3 @@
|
||||
// fixed by #66361
|
||||
// error-pattern: aborting due to 3 previous errors
|
||||
impl W <s(f;Y(;]
|
24
src/test/ui/parser/issue-63116.stderr
Normal file
24
src/test/ui/parser/issue-63116.stderr
Normal file
@ -0,0 +1,24 @@
|
||||
error: this file contains an un-closed delimiter
|
||||
--> $DIR/issue-63116.rs:3:18
|
||||
|
|
||||
LL | impl W <s(f;Y(;]
|
||||
| - ^
|
||||
| |
|
||||
| un-closed delimiter
|
||||
|
||||
error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `;`
|
||||
--> $DIR/issue-63116.rs:3:12
|
||||
|
|
||||
LL | impl W <s(f;Y(;]
|
||||
| ^ expected one of 7 possible tokens
|
||||
|
||||
error: expected one of `!`, `&&`, `&`, `(`, `)`, `*`, `+`, `,`, `->`, `...`, `::`, `<`, `>`, `?`, `[`, `_`, `dyn`, `extern`, `fn`, `for`, `impl`, `unsafe`, or lifetime, found `;`
|
||||
--> $DIR/issue-63116.rs:3:15
|
||||
|
|
||||
LL | impl W <s(f;Y(;]
|
||||
| -^ help: `)` may belong here
|
||||
| |
|
||||
| unclosed delimiter
|
||||
|
||||
error: aborting due to 3 previous errors
|
||||
|
Loading…
Reference in New Issue
Block a user