about summary refs log tree commit diff
path: root/src/test/pretty/struct-pattern.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-5/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2014-10-27Preserve struct field pattern shorthand in the prettyprinter.Kevin Mehall-0/+15
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.