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>2018-02-01 11:51:49 -0800
committerEsteban Küber <esteban@kuber.com.ar>2018-02-01 11:51:49 -0800
commitaaec60836761da35a8d0cf6179769eb9bc9f63c3 (patch)
treeba16a12cb639464d40d9a97470ee6afe1bf297b6 /src/rustllvm/RustWrapper.cpp
parentbacb5c58dfdde7c35e99b2b0d8171238cc33cf6c (diff)
downloadrust-aaec60836761da35a8d0cf6179769eb9bc9f63c3.tar.gz
rust-aaec60836761da35a8d0cf6179769eb9bc9f63c3.zip
Minimize weird spans involving macro context
Sometimes the parser attempts to synthesize spans from within a macro
context with the span for the captured argument, leading to non-sensical
spans with very bad output. Given that an incorrect span is worse than
a partially incomplete span, when detecting this situation return only
one of the spans without mergin them.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions