Skip to content

Commit 5e3c264

Browse files
committed
Add idempotent regression test for pub struct fields
1 parent 5851923 commit 5e3c264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/target/structs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pub struct Foo {
1010
g: SomeOtherType,
1111
/// A doc comment on a field
1212
h: AThirdType,
13+
pub i: TypeForPublicField,
1314
}
1415

1516
struct Bar;

0 commit comments

Comments
 (0)