Skip to content

Commit

Permalink
Add test for issue-58094
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Nov 15, 2019
1 parent 4e621a8 commit 74329bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
@@ -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 src/test/ui/parser/issue-58094-missing-right-square-bracket.stderr
@@ -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

0 comments on commit 74329bf

Please sign in to comment.