-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not suggest a semicolon for a macro without
!
- Loading branch information
Showing
8 changed files
with
16 additions
and
2 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...est-suggest-semicolon-before-array.stderr → ...not-suggest-semicolon-before-array.stderr
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
3 changes: 3 additions & 0 deletions
3
...st/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs
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 @@ | ||
fn main() { | ||
let _x = vec[1, 2, 3]; //~ ERROR expected one of `.`, `?`, `]`, or an operator | ||
} |
8 changes: 8 additions & 0 deletions
8
...i/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.stderr
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,8 @@ | ||
error: expected one of `.`, `?`, `]`, or an operator, found `,` | ||
--> $DIR/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs:2:19 | ||
| | ||
LL | let _x = vec[1, 2, 3]; | ||
| ^ expected one of `.`, `?`, `]`, or an operator | ||
|
||
error: aborting due to previous error | ||
|
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...est-suggest-semicolon-before-array.stderr → ...ser/suggest-semicolon-before-array.stderr
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