forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#66471 - Alexendoo:test-issue-63116, r=Centril
Add test for issue 63116 Closes rust-lang#63116
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// fixed by #66361 | ||
// error-pattern: aborting due to 3 previous errors | ||
impl W <s(f;Y(;] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|