about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorLevente Kurusa <lkurusa@acm.org>2018-10-15 00:00:53 +0200
committerLevente Kurusa <lkurusa@acm.org>2018-10-17 07:40:44 +0200
commit4d7f08b1702840a4d8ade9cd9e9f83743e3241fd (patch)
tree0d806e1cba57888518f95bcac5903bb328bf8f31 /src/rustllvm/RustWrapper.cpp
parent567557f630693d47fd21151ff1fdbc430e330a13 (diff)
downloadrust-4d7f08b1702840a4d8ade9cd9e9f83743e3241fd.tar.gz
rust-4d7f08b1702840a4d8ade9cd9e9f83743e3241fd.zip
rustc: improve E0669 span
E0669 refers to a constraint that cannot be coerced into a single LLVM
value, unfortunately right now this uses the Span for the entire inline
assembly statement, which is less than ideal.

This commit preserves the Span from HIR, which lets us emit the error
using the Span for the operand itself in MIR.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions