about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-1655.rs
AgeCommit message (Collapse)AuthorLines
2015-02-06Move compile-fail tests that are rejected by the parser to parse-failFlorian Hahn-21/+0
2014-12-04Make the parser’s ‘expected <foo>, found <bar>’ errors more accurateP1start-1/+1
As an example of what this changes, the following code: let x: [int ..4]; Currently spits out ‘expected `]`, found `..`’. However, a comma would also be valid there, as would a number of other tokens. This change adjusts the parser to produce more accurate errors, so that that example now produces ‘expected one of `(`, `+`, `,`, `::`, or `]`, found `..`’.
2014-08-24Adjust the error messages to match the pattern "expected foo, found bar"Jonas Hietala-1/+1
Closes #8492
2014-03-22Remove outdated and unnecessary std::vec_ng::Vec imports.Huon Wilson-3/+3
(And fix some tests.)
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-2/+2
2014-03-20syntax: Tidy up parsing the new attribute syntaxAlex Crichton-1/+1
2013-01-30test: De-export aux, bench, compile-fail, and run-fail. rs=deexportingPatrick Walton-1/+0
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-2/+2
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-1/+1
2012-02-22rustc: Don't ignore attributes inside empty mods. Closes #1655Brian Anderson-0/+11