about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-02 18:28:51 +0000
committerbors <bors@rust-lang.org>2018-11-02 18:28:51 +0000
commit8b096314a6381e28834ddb1e662ce90e5b32736b (patch)
treeb360f7f6b38c3ab0316fbf260dea4309a9619585 /src/rustllvm/RustWrapper.cpp
parente53a5ffd6b1c28903b4ad9a4c433fd554802cd9c (diff)
parent46b9461c4b77bf51528c81207e190d74be63ca10 (diff)
downloadrust-8b096314a6381e28834ddb1e662ce90e5b32736b.tar.gz
rust-8b096314a6381e28834ddb1e662ce90e5b32736b.zip
Auto merge of #55087 - levex:e0669-improve-span, r=nagisa
rustc: improve E0669 span

E0669 refers to an operand 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.

r? @nagisa
cc/ @parched
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions