diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-02 16:29:24 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-02-02 22:48:50 +0800 |
| commit | 9d995d283289165278761a278bf5530e2336d348 (patch) | |
| tree | de93d75b82814593ba358f28699234643bcd8b36 /src/rustllvm/RustWrapper.cpp | |
| parent | 7c6380cdcf60269bd11457eb00e8d18f4f6955f6 (diff) | |
| parent | aaec60836761da35a8d0cf6179769eb9bc9f63c3 (diff) | |
| download | rust-9d995d283289165278761a278bf5530e2336d348.tar.gz rust-9d995d283289165278761a278bf5530e2336d348.zip | |
Rollup merge of #47942 - estebank:macro-spans, r=nikomatsakis 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 merging them. Fix #32072, #47778. CC #23480.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
