diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-14 02:41:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-14 02:41:20 +0100 |
| commit | 4ad3cf25330a239cf66c150dadb9efe7b4126973 (patch) | |
| tree | f01d6ee8047017928f0fea21ffd535d667c353b3 /src/rustllvm/RustWrapper.cpp | |
| parent | b6ed20648421bcb1d6da1392597dd67e978f2a11 (diff) | |
| parent | 802c897eb3c95e6643bd4e2cd85052786458e3d8 (diff) | |
| download | rust-4ad3cf25330a239cf66c150dadb9efe7b4126973.tar.gz rust-4ad3cf25330a239cf66c150dadb9efe7b4126973.zip | |
Rollup merge of #58267 - estebank:match-arms, r=matthewjasper
Tweak "incompatible match arms" error - Point at the body expression of the match arm with the type error. - Point at the prior match arms explicitly stating the evaluated type. - Point at the entire match expr in a secondary span, instead of primary. - For type errors in the first match arm, the cause is outside of the match, treat as implicit block error to give a more appropriate error. Fix #46776, fix #57206. CC #24157, #38234.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
