about summary refs log tree commit diff
path: root/src/test/compile-fail
AgeCommit message (Collapse)AuthorLines
2011-09-13Apply implicit copying for unsafe references to alt patternsMarijn Haverbeke-4/+4
2011-09-12Rename alias to reference in docs and error messagesMarijn Haverbeke-4/+4
Update docs to reflect new approach to aliases
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-4/+5
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-22/+22
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-12Fix tests for new argument-passing conventionMarijn Haverbeke-27/+15
2011-09-06Forbid blocks from deinitializing upvarsTim Chevalier-5/+8
Move expressions where the RHS is an upvar are now forbidden within block expressions.
2011-09-02Print the type of istrs as 'str' in error messages. Issue #855Brian Anderson-3/+3
2011-09-02Reformat. Issue #855Brian Anderson-24/+18
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-1/+1
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-14/+14
2011-09-01Make #fmt and #ifmt synonymous. Issue #855Brian Anderson-2/+2
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-2/+2
2011-09-01Fix the error-patterns in 2 cfail tests. Issue #855Brian Anderson-2/+2
2011-09-01Add a test that lambdas can't deinitialize upvarsTim Chevalier-0/+8
2011-09-01Test for #876Tim Chevalier-0/+10
This is the test case for #876. Xfailed for now.
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-6/+6
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-1/+1
2011-09-01Make resolve recognize upvarsMarijn Haverbeke-2/+2
Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body.
2011-09-01Move mutability checking into its own pass.Marijn Haverbeke-5/+5
Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code.
2011-08-31Start paring down std::str. Issue #855Brian Anderson-5/+5
2011-08-31Check all paths return properly in blocks. Closes #874.Michael Sullivan-0/+5
2011-08-31Get rid of the hack that ignores () typed things in fn tail position.Michael Sullivan-2/+2
Closes #868. Unfortunately, this causes certain invalid programs to fail type-checking instead of failing type-state when a type-state error message would probably be more intuitive. (Although, by any reasonable interpretation of the static semantics, it technically ought to be a type error.)
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-16/+16
2011-08-31Replace xfail-stageN with simply xfail-testMarijn Haverbeke-15/+5
Closes #799
2011-08-31Revert "Replace xfail-stageN with simply xfail-test"Marijn Haverbeke-5/+15
This reverts commit 574194f6bcfb90b9f8486002b83babc4c21208c0.
2011-08-31Replace xfail-stageN with simply xfail-testMarijn Haverbeke-15/+5
Closes #799
2011-08-30Convert #env to istrs. Temporarily disable usage in rustc. Issue #855Brian Anderson-1/+1
2011-08-30Library test cases for vec::zipTim Chevalier-0/+17
2011-08-30Test that fn preconditions get typecheckedTim Chevalier-0/+18
2011-08-25Change "pred" to "pure fn" in all libraries and test casesTim Chevalier-9/+9
2011-08-25Allow pure fns to have any return typeTim Chevalier-11/+1
2011-08-25Cleaning up task and comm exports, updating all the test cases.Eric Holk-1/+1
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-22Remove silly restriction on passing type params by aliasMarijn Haverbeke-9/+0
Since they are now passed by pointer, this is no longer a problem
2011-08-20ReformatBrian Anderson-244/+200
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18More misc ivec->vec renamingBrian Anderson-2/+2
2011-08-17Track arguments in typestateTim Chevalier-0/+18
Add the infrastructure for arguments -- as well as local vars -- to be deinitialized with move-mode calls. Address Issue #819
2011-08-17Refactor import lookup in middle:resolveBrian Anderson-0/+14
Issue #817
2011-08-17Allow multiple imports in a single statementBrian Anderson-0/+31
Like so: import foo::{bar, baz}; Issue #817
2011-08-17Add compile-fail tests for malformed glob importsBrian Anderson-0/+12
2011-08-16Port the tests to the expr foo::<T> syntax.Erick Tryzelaar-3/+3
2011-08-16Port the tests to the decl foo<T> syntax.Erick Tryzelaar-11/+11
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-16/+17
2011-08-16Rename std::ivec to std::vecBrian Anderson-3/+3
2011-08-16Convert most main functions to the ivec signatureBrian Anderson-6/+6
Converting rustc will still take a snapshot
2011-08-16Removed trans_comm.rs from the compiler. Updating aio/sio to work with the ↵Eric Holk-13/+0
new chan and port system, started on a networking module for the standard library.
2011-08-16Make let bindings' scope start at their definitionMarijn Haverbeke-27/+7
Also, allow let bindings in a block to shadow each other.
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-6/+6
2011-08-15Add backtraces for syntax problems.Paul Stansifer-1/+1
2011-08-15Removed spawn and task from the parser. Updated all the tests except for the ↵Eric Holk-17/+4
benchmarks.