about summary refs log tree commit diff
path: root/src/test/parse-fail/syntax-trait-polarity.rs
AgeCommit message (Collapse)AuthorLines
2018-01-14syntax: Rewrite parsing of implsVadim Petrochenkov-35/+0
Properly parse impls for the never type `!` Recover from missing `for` in `impl Trait for Type` Prohibit inherent default impls and default impls of auto traits Change wording in more diagnostics to use "auto traits" Some minor code cleanups in the parser
2016-11-01add -Z continue-parse-after-error to parse-fail testsNiko Matsakis-1/+1
The new handling fixed a latent bug in the parser error handling where it would only abort after the second error (when configured to stop after the first error). This is because the check for `error_count != 0` was occuring before the increment. Since the increment is tied to the `emit()` call now this no longer occurs.
2015-04-18Return nonzero exit code if there are errors at a stop pointFlorian Hahn-0/+2
2015-02-16Move remaning compile-fail tests that are rejected by the parser to parse-failFlorian Hahn-0/+33