summary refs log tree commit diff
path: root/src/test/run-fail
AgeCommit message (Collapse)AuthorLines
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-24add annotation for variable that used to infer to botNiko Matsakis-1/+1
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-2/+4
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-1/+1
Instead of using the new_ prefix just name them after their type
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-2/+2
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-10core Remove vec::enum_chars/uint. Closes #1955Brian Anderson-0/+16
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-1/+2
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-2/+1
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-1/+2
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-02-23Finish cleanup of core::strMarijn Haverbeke-1/+2
Closes #1849
2012-02-15Rewrite exhaustiveness checkerMarijn Haverbeke-1/+1
Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive.
2012-02-14rt: Don't kill tasks while they are in a callback from CBrian Anderson-0/+31
2012-02-03Fix tests for str::le patchMarijn Haverbeke-5/+2
2012-02-03Remove experimental GC codeMarijn Haverbeke-2/+2
It's been sitting unused long enough to have bitrotted completely.
2012-02-02rt: Remove task pinning. Does nothingBrian Anderson-2/+2
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-1/+1
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 4Kevin Cantu-2/+2
2012-01-31Require alts to be exhaustiveTim Chevalier-9/+0
middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive.
2012-01-29rt: Remove set_min_stackBrian Anderson-5/+0
2012-01-23s/block()/fn()/gNiko Matsakis-3/+3
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-1/+1
tests accordingly.
2012-01-19Compute typestates for FRU exprs correctly, plus a bit of cleanupTim Chevalier-0/+5
The code in Issue 948 was causing typestate to diverge because it was using the prestate for the whole expression -- not the post- state for the fields list -- as the prestate for the record base expression. Fixed. Closes #948
2012-01-19test: "tag" -> "enum" in run-pass and run-failPatrick Walton-1/+1
2012-01-19Handle log expressions with a _|_-typed levelTim Chevalier-0/+4
If we have log(foo, quux) where foo:_|_, just translate foo and ignore the rest of the expression. Closes #1459
2012-01-19In trans, allow _|_-typed things to be the argument to failTim Chevalier-0/+4
Rationale: _|_-typed things diverge, so it's safe to use them in any context. Closes #1465
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-2/+2
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-13make "native fn" the type for bare functions, remove fn exprsNiko Matsakis-1/+1
2012-01-12libcore: Add sys::set_exit_statusBrian Anderson-0/+33
Sets the process exit code
2012-01-12Add type parameters when checking wildcard patternsTim Chevalier-0/+9
For some reason, wildcard patterns were never getting type parameter substitutions attached. This would cause an assertion failure when checking a wildcard pattern that matches against a tag with polymorphic type (not sure why this didn't come up before). Fixed it. (The diff and test case may be easier to understand than this note :P) Closes #1503.
2012-01-11rt: Add RUST_MAX_STACK env var with 8MB defaultBrian Anderson-0/+7
Closes #1489
2012-01-10rename sendfn to fn~, lambda to fn@Niko Matsakis-2/+3
2012-01-09Remove proto_sugar and 'lambda' as keyword, commit to fn@.Graydon Hoare-1/+1
2012-01-08make spawned fn copy mode so that bare fns can be usedNiko Matsakis-0/+11
2012-01-06update to use new spawn syntaxNiko Matsakis-22/+26
2012-01-05rustc: Allow the test runner to run unexported testsBrian Anderson-0/+13
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-3/+3
And remove support for the old syntax
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-6/+6
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-6/+12
#debug.
2011-12-20Add companion-module core.rs that exports log levels and option/some/none ↵Graydon Hoare-4/+0
everywhere.
2011-12-18libcore: Remove task::set_min_stackBrian Anderson-7/+0
This existed to make up for the lack of stack growth, and wasn't generally safe.
2011-12-18test: Enable all morestack testsBrian Anderson-8/+0
2011-12-17rt: Use a DWARF CFI scheme that works on mac in __morestackBrian Anderson-0/+28
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-34/+34
2011-12-11rt: Make unwinding through __morestack work on macBrian Anderson-3/+3
Had to bump the min stack size in some of the tests from 256 bytes to 1024 bytes. Not sure why yet.
2011-12-06rt: Various tweaks to make __morestack unwinding work on linuxBrian Anderson-2/+2
When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future.
2011-12-05test: More tests for unwinding + morestackBrian Anderson-3/+43
2011-12-05rt: Make stack unwinding work more correctly with stack growthBrian Anderson-0/+35
2011-11-29rt: Delete the entire stack chain on task destructionBrian Anderson-1/+2
Unwinding through __morestack on 64-bit Linux seems to be no big deal, and all we have to do is free the stacks to make unwinding work with split stacks.
2011-11-29Add --stack-growth to the morestack test compile flagsBrian Anderson-0/+1