Skip to content

Commit 6c962e3

Browse files
lambtowolfpietroalbini
authored andcommitted
Issue rust-lang#50974: Adding issue number in the test
1 parent 5c022af commit 6c962e3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/test/ui/struct-duplicate-comma.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
// compile-flags: -Z parse-only
1212

13+
// Issue #50974
14+
1315
struct Foo {
1416
a: u8,
1517
b: u8

src/test/ui/struct-duplicate-comma.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: expected identifier, found `,`
2-
--> $DIR/struct-duplicate-comma.rs:20:14
2+
--> $DIR/struct-duplicate-comma.rs:22:14
33
|
44
LL | let bar = Foo {
55
| --- while parsing this struct

0 commit comments

Comments
 (0)