summary refs log tree commit diff
path: root/src/test/parse-fail/issue-1802-1.rs
AgeCommit message (Collapse)AuthorLines
2015-04-18Return nonzero exit code if there are errors at a stop pointFlorian Hahn-0/+2
2015-03-31Lex binary and octal literals more eagerly.Huon Wilson-1/+1
Previously 0b12 was considered two tokens, 0b1 and 2, as 2 isn't a valid base 2 digit. This patch changes that to collapse them into one (and makes `0b12` etc. an error: 2 isn't a valid base 2 digit). This may break some macro invocations of macros with `tt` (or syntax extensions) that rely on adjacent digits being separate tokens and hence is a [breaking-change] The fix is to separate the tokens, e.g. `0b12` -> `0b1 2`. cc https://github.com/rust-lang/rfcs/pull/879
2015-02-06Move compile-fail tests that are rejected by the parser to parse-failFlorian Hahn-0/+14