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>2015-07-25 11:20:15 +0000
committerbors <bors@rust-lang.org>2015-07-25 11:20:15 +0000
commit04badd6a973d2499731b49365a121dbc4c9c468e (patch)
treea69b660f2a87f5b34fb6c89186e8e9994e3e1637 /src/libstd/sys/unix/stack_overflow.rs
parentf0b7ede78a25686875d1028251f15b915fd0e6e8 (diff)
parent93dd75a5096c615bfdbc4502deafce2ee606b00e (diff)
downloadrust-04badd6a973d2499731b49365a121dbc4c9c468e.tar.gz
rust-04badd6a973d2499731b49365a121dbc4c9c468e.zip
Auto merge of #27253 - bossmc:unbalanced-delimiters-cause-ice, r=nikomatsakis
This introduces a test for #23389 and improves the error behaviour to treat the malformed LHS as an error, not a compiler bug.

The parse phase that precedes the call to `check_lhs_nt_follows` could possibly be enhanced to police the format itself (which the old code suggests was the original intention), but I'm not sure that's any nicer than just parsing the matcher as generic rust code and then policing the specific requirements for being a macro matcher afterwards (as this does).

Fixes #23389
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions