about summary refs log tree commit diff
path: root/src/test/compile-fail
AgeCommit message (Expand)AuthorLines
2011-10-21Remove some semicolons after block callsMarijn Haverbeke-1/+1
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-16/+3
2011-10-20Remove temporary fn# syntaxBrian Anderson-7/+7
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-2/+2
2011-10-20Tweak typecheck to enforce covariance on higher-order function argumentsBrian Anderson-0/+14
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-1/+1
2011-10-20Convert tests to use bare-fn spawnBrian Anderson-2/+2
2011-10-19Fail nicer when the parser doesn't find an expected string literalBrian Anderson-0/+3
2011-10-18Fix parse error in constrained-type-missing-check.rsMatt Brubeck-2/+2
2011-10-17Enforce variance rules for mutable typesBrian Anderson-0/+92
2011-10-17Don't allow assignment to mutable-wha?Brian Anderson-0/+64
2011-10-13Don't allow the value of generic bare functions to be takenBrian Anderson-0/+23
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-0/+9
2011-10-12new testNiko Matsakis-0/+11
2011-10-12make compiler emit more than 1 error in the case of unsafeNiko Matsakis-3/+2
2011-10-12prohibit ptr deref unless in unsafe codeNiko Matsakis-0/+11
2011-10-12fix error msgNiko Matsakis-1/+0
2011-10-12add some new testsNiko Matsakis-1/+23
2011-10-12add pass to check that unsafe fns cannot be used as valuesNiko Matsakis-0/+9
2011-10-12all tests passNiko Matsakis-1/+1
2011-10-12skip test, remove whitespaceNiko Matsakis-0/+1
2011-10-12Add unsafe blocks, unsafe functions, and two rudimentary testsNiko Matsakis-0/+8
2011-10-11Don't allow bind to produce bare functionsBrian Anderson-0/+9
2011-10-07Fix up test for last commitMarijn Haverbeke-1/+1
2011-10-07Add tests for programs that are invalid by arg-passing-styleMarijn Haverbeke-0/+9
2011-10-07Add pass-by-ref annotation to the tests to make them typecheckMarijn Haverbeke-2/+4
2011-09-28Test cases for #985Brian Anderson-0/+42
2011-09-28Don't allow vectors of pinned kindsBrian Anderson-0/+11
2011-09-28Make error patterns in some kind tests more specificBrian Anderson-5/+5
2011-09-28Revert "Revert "Implement pattern ranges for all numeric types.""Brian Anderson-0/+57
2011-09-27Patch to error instead of crashing when parsing unmatched double quotesWade Mealing-0/+8
2011-09-27Make it again possible to initialize resource locals via assignmentBrian Anderson-20/+0
2011-09-27Prevent copies of resources into various thingsBrian Anderson-8/+20
2011-09-27Add xfailed tests that resources can't be copied into various thingsBrian Anderson-0/+68
2011-09-27Don't ever raise unique kinds of pinned kinds to shared (again)Brian Anderson-8/+39
2011-09-27Add an xfailed test for bogus deep copying of things containing resourcesBrian Anderson-0/+16
2011-09-27Add an xfailed test for bogus vector addition of typaramsBrian Anderson-0/+21
2011-09-26Add two xfailed tests for invalid copies into vectorsBrian Anderson-0/+36
2011-09-26Enforce copy restrictions on let initializersBrian Anderson-0/+29
2011-09-26Make some nocopy tests a bit more futureproofBrian Anderson-4/+4
2011-09-26Prevent copying of uncopyable things via the copy opBrian Anderson-0/+10
2011-09-26Prevent copying of uncopyable things via compound assignment opsBrian Anderson-0/+9
2011-09-26Don't allow vectors of pinned kinds to be copiedBrian Anderson-0/+10
2011-09-26Don't allow copying of unique boxes of pinned kindsBrian Anderson-1/+0
2011-09-26Unique vectors and boxes of pinned are unique kinds. Closes #977Brian Anderson-36/+1
2011-09-24Don't iloop (future-proof test against improved reachability computations)Jesse Ruderman-1/+1
2011-09-24Remove irrelevant parts of testJesse Ruderman-4/+0
2011-09-24Move a previous run-pass test for kind-lowered unique boxes to compile-failBrian Anderson-0/+36
2011-09-24Unique pointers containing pinned kinds become pinnedBrian Anderson-0/+10
2011-09-22Calculate the correct kind for unique boxesBrian Anderson-0/+9