commit | 67370bbd878617d8860633a63d7f5a02993c076e | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Oct 30 12:08:31 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Oct 30 12:08:31 2016 -0700 |
tree | 839602a38033aeb0a2e8bff8eed1e46c36216e22 | |
parent | 276690fabdffb5075b117c2798b114a523e5fbc2 [diff] |
Propagate is_shorthand when folding syntex struct field
diff --git a/tests/test_round_trip.rs b/tests/test_round_trip.rs index 14bfeb5..484ecb2 100644 --- a/tests/test_round_trip.rs +++ b/tests/test_round_trip.rs
@@ -216,6 +216,7 @@ self.fold_ident(field.ident.node)), expr: self.fold_expr(field.expr), span: self.new_span(field.span), + is_shorthand: field.is_shorthand, } }