diff options
| author | Alex Burka <aburka@seas.upenn.edu> | 2016-03-15 13:03:42 -0400 |
|---|---|---|
| committer | Alex Burka <aburka@seas.upenn.edu> | 2016-03-24 01:33:31 -0400 |
| commit | 9799cacba3042420cc7b49d555289241cf0456e1 (patch) | |
| tree | 7a08fce357b03fc4e9b5a53949dd52348c1aaddb /src/libsyntax/errors | |
| parent | cd80c1bb5540fa2610a8f3d8a25560d1f0981400 (diff) | |
| download | rust-9799cacba3042420cc7b49d555289241cf0456e1.tar.gz rust-9799cacba3042420cc7b49d555289241cf0456e1.zip | |
fatal error instead of ICE for impossible range during HIR lowering
End-less ranges (`a...`) don't parse but bad syntax extensions could conceivably produce them. Unbounded ranges (`...`) do parse and are caught here. The other panics in HIR lowering are all for unexpanded macros, which cannot be constructed by bad syntax extensions.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
