about summary refs log tree commit diff
path: root/src/test/compile-fail/multitrait.rs
AgeCommit message (Collapse)AuthorLines
2015-02-06Move compile-fail tests that are rejected by the parser to parse-failFlorian Hahn-19/+0
2015-02-02Tweak some ‘expected…’ error messagesP1start-1/+2
Fixes #21153.
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
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-07-08std: Rename the `ToStr` trait to `ToString`, and `to_str` to `to_string`.Richo Healey-2/+2
[breaking-change]
2014-05-27std: Remove String's to_ownedRicho Healey-1/+1
2014-05-24core: rename strbuf::StrBuf to string::StringRicho Healey-1/+1
[breaking-change]
2014-05-14test: Remove all uses of `~str` from the test suite.Patrick Walton-1/+1
2014-04-18Replace all ~"" with "".to_owned()Richo Healey-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-07Fix obsolete struct syntax in testBrian Anderson-1/+1
2012-09-07Remove support for multiple traits in a single implTim Chevalier-0/+8
There was half-working support for them, but they were never fully implemented or even approved. Remove them altogether. Closes #3410