about summary refs log tree commit diff
path: root/src/test/run-pass/box-pattern.rs
AgeCommit message (Collapse)AuthorLines
2014-10-02tests: remove uses of Gc.Eduard Burtescu-20/+0
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-2/+2
This breaks a fair amount of code. The typical patterns are: * `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`; * `println!("{}", 3)`: change to `println!("{}", 3i)`; * `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`. RFC #30. Closes #6023. [breaking-change]
2014-05-02libsyntax: Add `box PAT` to the pattern grammar. RFC #14.Patrick Walton-0/+20
2014-01-13librustc: Remove `@` pointer patterns from the languagePatrick Walton-21/+0
2013-10-23register snapshotsDaniel Micay-0/+2
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-07test: Fix tests.Patrick Walton-1/+1
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-26testsuite: Eliminate uses of structural records from most run-pass testsTim Chevalier-4/+4
Except the pipes tests (that needs a snapshot)
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-1/+1
tests accordingly.
2012-01-19test: "tag" -> "enum" in run-pass and run-failPatrick Walton-1/+1
2011-08-20ReformatBrian Anderson-1/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-03Remove all xfail-stage0 directivesBrian Anderson-2/+0
While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
2011-07-27Reformat for new syntaxMarijn Haverbeke-10/+7
2011-07-14XFAIL some tests in stage 0Brian Anderson-0/+2
2011-07-13Add box patternsMarijn Haverbeke-0/+12
An @ can now be prepended to a pattern to unbox something during pattern matching. Closes #661