diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2018-02-01 11:51:49 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2018-02-01 11:51:49 -0800 |
| commit | aaec60836761da35a8d0cf6179769eb9bc9f63c3 (patch) | |
| tree | ba16a12cb639464d40d9a97470ee6afe1bf297b6 /src/rustllvm/RustWrapper.cpp | |
| parent | bacb5c58dfdde7c35e99b2b0d8171238cc33cf6c (diff) | |
| download | rust-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
