summary refs log tree commit diff
path: root/src/test/compile-fail
AgeCommit message (Expand)AuthorLines
2011-11-16Replace 'mutable?' with 'const'Brian Anderson-13/+13
2011-11-16Use attributes for native module ABI and link nameHaitao Li-2/+4
2011-11-15Fix handling of loops and conditionals in alias.rsMarijn Haverbeke-0/+10
2011-11-13Make various binops not typecheck for unsafe pointers. Closes #1173Brian Anderson-0/+4
2011-11-10rustc: Add support of warning on unused importsHaitao Li-0/+19
2011-11-09Add "cdecl" as synonym for "c-stack-cdecl"Brian Anderson-2/+2
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-2/+2
2011-11-07Add test for if without else cannot return resultBrian Anderson-0/+6
2011-11-07Add tests for blocks that must not have resultsBrian Anderson-0/+29
2011-11-03Update some more tests for 1a68a9882Marijn Haverbeke-42/+0
2011-11-02Make ptr::addr_of return an immutable vec, add mut_addr_ofMarijn Haverbeke-2/+2
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-0/+3
2011-10-28Move to short kind kinds words in test suiteMarijn Haverbeke-3/+3
2011-10-27Add tests for the 'as' (cast) operatorMatt Brubeck-0/+16
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-3/+3
2011-10-25Step one towards new type param kind syntaxMarijn Haverbeke-1/+1
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