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
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
src/test/ui/parser/issue-58094-missing-right-square-bracket.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,4 @@ | ||
// https://github.com/rust-lang/rust/issues/58094 | ||
// ignore-tidy-trailing-newlines | ||
// error-pattern: aborting due to 2 previous errors | ||
#[Ѕ |
16 changes: 16 additions & 0 deletions
16
src/test/ui/parser/issue-58094-missing-right-square-bracket.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,16 @@ | ||
error: this file contains an un-closed delimiter | ||
--> $DIR/issue-58094-missing-right-square-bracket.rs:4:4 | ||
| | ||
LL | #[Ѕ | ||
| - ^ | ||
| | | ||
| un-closed delimiter | ||
|
||
error: expected item after attributes | ||
--> $DIR/issue-58094-missing-right-square-bracket.rs:4:4 | ||
| | ||
LL | #[Ѕ | ||
| ^ | ||
|
||
error: aborting due to 2 previous errors | ||
|