diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-02-07 05:39:54 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-02-07 05:39:54 -0800 |
| commit | 9e934e22151d5589cbe3cb1193250d8ac0b366fb (patch) | |
| tree | b361f083bbc11d69f4322fe2db8539082b72e2b1 /src/rustllvm/RustWrapper.cpp | |
| parent | 825f355c7483746f3a17166f34dfabe3b2df1741 (diff) | |
| download | rust-9e934e22151d5589cbe3cb1193250d8ac0b366fb.tar.gz rust-9e934e22151d5589cbe3cb1193250d8ac0b366fb.zip | |
Reweork incompatible match arms error
- Point at the body expression of the match arm with the type error. - Point at the prior match arms explicitely 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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
