diff options
| author | bors <bors@rust-lang.org> | 2018-01-13 12:42:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-13 12:42:33 +0000 |
| commit | 9b2f8ac29eca4a42c35ce32b13231fcc1f9a3c9d (patch) | |
| tree | 5bda99152b07371500965df30607984d40ca8b82 /src/test/compile-fail/syntaxt-default-trait-impls.rs | |
| parent | ca092937aa43f7ad166f67bf4eb96753293e56f9 (diff) | |
| parent | d17e38f4bf3418770b7314bad0b8ef4490db55bd (diff) | |
| download | rust-9b2f8ac29eca4a42c35ce32b13231fcc1f9a3c9d.tar.gz rust-9b2f8ac29eca4a42c35ce32b13231fcc1f9a3c9d.zip | |
Auto merge of #47242 - estebank:issue-15980, r=petrochenkov
`struct` pattern parsing and diagnostic tweaks
- Recover from struct parse error on match and point out missing match
body.
- Point at struct when finding non-identifier while parsing its fields.
- Add label to "expected identifier, found {}" error.
Fix #15980.
Diffstat (limited to 'src/test/compile-fail/syntaxt-default-trait-impls.rs')
0 files changed, 0 insertions, 0 deletions
