about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-05-07 22:08:13 -0700
committerManish Goregaokar <manishsmail@gmail.com>2016-05-08 07:00:00 -0700
commitdfa52457167d64449152ad51bfb640da2723199f (patch)
treec751b728e8862a22aaf588edad8c4d8a107c810a /src/rustllvm/RustWrapper.cpp
parent8e414e0e3f27d1917d11ee80de827698beb53891 (diff)
parentf030b5dbc29b20b964f2cc448d893998080b1a46 (diff)
downloadrust-dfa52457167d64449152ad51bfb640da2723199f.tar.gz
rust-dfa52457167d64449152ad51bfb640da2723199f.zip
Rollup merge of #33369 - nikomatsakis:graceful-empty-span, r=jntrnr
degrade gracefully with empty spans

In https://github.com/rust-lang/rust/pull/32756, we solved the final test failure, but digging more into it the handling of that scenario could be better. The error was caused by an empty span supplied by the parser representing EOF. This patch checks that we cope more gracefully with such spans:

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