diff options
| author | Kevin Mehall <km@kevinmehall.net> | 2014-10-27 00:11:26 -0700 |
|---|---|---|
| committer | Kevin Mehall <km@kevinmehall.net> | 2014-10-27 00:35:35 -0700 |
| commit | e5f709079a2f9c5227e10f5f4cd0371a2fd76ae3 (patch) | |
| tree | a60a4c92c4f9b906cb74846b79b17bafad7f2a7a /src/rustllvm/RustWrapper.cpp | |
| parent | f037452447f5f46deb26e1c483fe88fb51a19198 (diff) | |
| download | rust-e5f709079a2f9c5227e10f5f4cd0371a2fd76ae3.tar.gz rust-e5f709079a2f9c5227e10f5f4cd0371a2fd76ae3.zip | |
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
