rust/src/libsyntax
Kevin Mehall e5f709079a Preserve struct field pattern shorthand in the prettyprinter.
Use the `is_shorthand` field introduced by #17813 (ead6c4b) to make the
prettyprinter output the shorthand form. Fixes a few places that set
`is_shorthand: true` when the pattern is not a PatIdent with the same
name as the field.
2014-10-27 00:35:35 -07:00
..
ast_map Change method lookup infrastructure to use the trait methods. Instead 2014-10-21 12:32:36 -04:00
diagnostics Allow syntax extensions to return multiple items, closes #16723. 2014-09-19 11:10:54 +02:00
ext Preserve struct field pattern shorthand in the prettyprinter. 2014-10-27 00:35:35 -07:00
parse Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
print Preserve struct field pattern shorthand in the prettyprinter. 2014-10-27 00:35:35 -07:00
util Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
abi.rs syntax: Convert statics to constants 2014-10-09 09:44:51 -07:00
ast_util.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
ast.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
attr.rs Continue cfg syntax transition 2014-10-12 11:40:19 -07:00
codemap.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
config.rs auto merge of #17963 : sfackler/rust/cfg-error, r=alexcrichton 2014-10-13 12:27:43 +00:00
diagnostic.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
feature_gate.rs auto merge of #17733 : jgallagher/rust/while-let, r=alexcrichton 2014-10-13 19:37:40 +00:00
fold.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
lib.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
owned_slice.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
ptr.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
show_span.rs rebasing fixes 2014-09-17 16:53:20 +12:00
std_inject.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
test.rs Continue cfg syntax transition 2014-10-12 11:40:19 -07:00
visit.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00