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.
- Loading branch information
Guanqun Lu
committed
Nov 15, 2019
1 parent
d63b24f
commit ed9c5da
Showing
2 changed files
with
38 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,4 @@ | ||
// ignore-tidy-trailing-newlines | ||
// error-pattern: aborting due to 3 previous errors | ||
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,34 @@ | ||
error: this file contains an un-closed delimiter | ||
--> $DIR/issue-62524.rs:4:3 | ||
| | ||
LL | y![ | ||
| - un-closed delimiter | ||
LL | Ϥ, | ||
| ^ | ||
|
||
error: macros that expand to items must be delimited with braces or followed by a semicolon | ||
--> $DIR/issue-62524.rs:3:3 | ||
| | ||
LL | y![ | ||
| ___^ | ||
LL | | Ϥ, | ||
| |__^ | ||
| | ||
help: change the delimiters to curly braces | ||
| | ||
LL | y!{ | ||
LL | Ϥ} | ||
| | ||
help: add a semicolon | ||
| | ||
LL | Ϥ,; | ||
| ^ | ||
|
||
error: cannot find macro `y` in this scope | ||
--> $DIR/issue-62524.rs:3:1 | ||
| | ||
LL | y![ | ||
| ^ | ||
|
||
error: aborting due to 3 previous errors | ||
|