about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-02-07 05:39:54 -0800
committerEsteban Küber <esteban@kuber.com.ar>2019-02-07 05:39:54 -0800
commit9e934e22151d5589cbe3cb1193250d8ac0b366fb (patch)
treeb361f083bbc11d69f4322fe2db8539082b72e2b1 /src/rustllvm/RustWrapper.cpp
parent825f355c7483746f3a17166f34dfabe3b2df1741 (diff)
downloadrust-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