about summary refs log tree commit diff
path: root/src/test/compile-fail/block-copy.rs
AgeCommit message (Collapse)AuthorLines
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-8/+0
2012-08-01Convert ret to returnBrian Anderson-1/+1
2012-05-29Fix an error message to not refer to "block type". Closes #2423.Michael Sullivan-1/+1
2012-01-23s/block()/fn()/gNiko Matsakis-2/+2
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-1/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-1/+5
#debug.
2011-11-21Add a pass that checks that blocks are only used in safe waysMarijn Haverbeke-1/+1
Closes #1188
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-2/+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-11-18Preparation for kind system overhaulMarijn Haverbeke-0/+1
This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177
2011-09-28Make error patterns in some kind tests more specificBrian Anderson-1/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-1/+1
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-23Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵Graydon Hoare-1/+1
kinding-violations in rustc and libstd.
2011-08-20ReformatBrian Anderson-2/+2
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-1/+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-6/+2
2011-07-26Add a bunch of tests for blocks.Michael Sullivan-0/+9