about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-03-28 15:08:49 -0700
committerbors <bors@rust-lang.org>2016-03-28 15:08:49 -0700
commit44a77f67696e855a9841eaf7c7bf7639131cfec6 (patch)
tree02c42e937d6c0b11e6bf21151f3328a1169dc7a4 /src/libstd/sys/unix/stack_overflow.rs
parent221c940bf34887bb3f1900b757f8245ad23e8ef4 (diff)
parent861644f2af5421f5aa55d4e7fddfc8dba54bcb70 (diff)
downloadrust-44a77f67696e855a9841eaf7c7bf7639131cfec6.tar.gz
rust-44a77f67696e855a9841eaf7c7bf7639131cfec6.zip
Auto merge of #32267 - durka:inclusive-range-error, r=nrc
melt the ICE when lowering an impossible range

Emit a fatal error instead of panicking when HIR lowering encounters a range with no `end` point.

This involved adding a method to wire up `LoweringContext::span_fatal`.

Fixes #32245 (cc @nodakai).

r? @nrc
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions