summary refs log tree commit diff
path: root/src/test/parse-fail/range_inclusive.rs
AgeCommit message (Collapse)AuthorLines
2016-03-24address nitsAlex Burka-1/+1
2016-03-24fatal error instead of ICE for impossible range during HIR loweringAlex Burka-2/+3
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.
2016-02-27test inclusive rangesAlex Burka-0/+18
Mostly copy the tests from half-open ranges, adding some more for DoubleEndedIterator and ExactSizeIterator. Also thoroughly (I think) test that the feature gates are working.