about summary refs log tree commit diff
path: root/src/test/run-pass/expr-block-generic.rs
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-03-02test: Remove `fn@`, `fn~`, and `fn&` from the test suite. rs=defunPatrick Walton-1/+1
2013-02-22Remove legacy_modes from test casesBrian Anderson-2/+1
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick 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-3/+3
Except the pipes tests (that needs a snapshot)
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-19xfail-fast the legacy_mode run-pass testsBrian Anderson-0/+1
2012-09-18rustc: Remove legacy mode inference, unless #[legacy_modes] is usedPatrick Walton-3/+2
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-1/+1
2012-08-31Fix check-fast.Graydon Hoare-6/+3
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-2/+7
2012-08-01Convert ret to returnBrian Anderson-2/+2
2012-06-20Remove bind. Issue #2189Brian Anderson-4/+2
2012-02-11make bind syntax unnecessary: just use _ for one of the argumentsNiko Matsakis-2/+2
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-1/+1
And remove support for the old syntax
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-1/+1
2011-10-07Add pass-by-ref annotation to the tests to make them typecheckMarijn Haverbeke-1/+1
Issue #1008
2011-09-26Enforce copy restrictions on let initializersBrian Anderson-1/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-4/+4
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
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-16Port the tests to the expr foo::<T> syntax.Erick Tryzelaar-2/+2
2011-08-16Port the tests to the decl foo<T> syntax.Erick Tryzelaar-2/+2
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-2/+2
2011-07-27Reformat for new syntaxMarijn Haverbeke-8/+8
2011-07-26Remove uses of tuples from the test suiteMarijn Haverbeke-6/+6
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-21/+14
2011-05-14Remove xfail-boot lines from testsBrian Anderson-1/+0
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-1/+1
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-1/+1
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-1/+1
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-04-07Make block results work for generic typesBrian Anderson-20/+0
I think just about every type can be used as a block result now. There's quite a proliferation of tests here, but they all test slightly different things and some are split out to remain XFAILed. The tests of generic vectors are still XFAILed because generic aliased boxes still don't work in general.
2011-03-31Add a test for block expressions of generic types. XFAILedBrian Anderson-0/+56