diff options
| author | bors <bors@rust-lang.org> | 2018-06-06 14:04:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-06 14:04:06 +0000 |
| commit | 35aeecb8aa23e2f4ce23a2490921ede0422b5805 (patch) | |
| tree | 8f5daf652e67c71d067f6491538096cee85ab4c5 /src/rustllvm/RustWrapper.cpp | |
| parent | 9ac372568b0a63c0abb8953431fa6a392de040a3 (diff) | |
| parent | d66d35bb9184b7f3a4e155386ca44410c0d09ff2 (diff) | |
| download | rust-35aeecb8aa23e2f4ce23a2490921ede0422b5805.tar.gz rust-35aeecb8aa23e2f4ce23a2490921ede0422b5805.zip | |
Auto merge of #51201 - estebank:dotdot, r=petrochenkov
Accept `..` in incorrect position to avoid further errors We currently give a specific message when encountering a `..` anywhere other than the end of a pattern. Modify the parser to accept it (while still emitting the error) so that we don't also trigger "missing fields in pattern" errors afterwards. Add suggestions to either remove trailing `,` or moving the `..` to the end. Follow up to #49268.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
