Skip to content

Commit

Permalink
Issue rust-lang#50974: Adding issue number in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
lambtowolf committed May 29, 2018
1 parent 4558a62 commit 4b32ddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/test/ui/struct-duplicate-comma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

// compile-flags: -Z parse-only

// Issue #50974

struct Foo {
a: u8,
b: u8
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/struct-duplicate-comma.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: expected identifier, found `,`
--> $DIR/struct-duplicate-comma.rs:20:14
--> $DIR/struct-duplicate-comma.rs:22:14
|
LL | let bar = Foo {
| --- while parsing this struct
Expand Down

0 comments on commit 4b32ddd

Please sign in to comment.