summary refs log tree commit diff
path: root/src/libstd/test.rs
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-12/+12
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26librustc: Enforce that `extern mod` directives come first, then `use` ↵Patrick Walton-1/+1
directives, then items. Resolve them in this order as well.
2013-03-26option: rm functions that duplicate methodsDaniel Micay-1/+1
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-2/+2
2013-03-22libstd: Remove all uses of `pure` from libstd. rs=depurePatrick Walton-2/+2
2013-03-22std: replace uses of old deriving attribute with new oneAndrew Paseltiner-2/+2
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-1/+5
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-1/+1
notation. rs=delifetiming
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-9/+12
2013-03-14Remove unused imports in stdILyoan-1/+0
2013-03-07test: Fix tests.Patrick Walton-1/+3
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-13/+13
2013-03-07libstd: Remove `extern mod { ... }` from libstd. rs=deexterningPatrick Walton-3/+7
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-03-02libstd: Remove `fn@`, `fn~`, and `fn&` from libstd. rs=defunPatrick Walton-8/+8
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-6/+5
imports
2013-02-28Remove code that was awaiting a snapshotTim Chevalier-24/+0
* Disallow structural records everywhere * Remove all #[cfg(stage0)] stuff * Remove the last deprecated modes in libcore * Un-xfail a test
2013-02-27libsyntax: Forbid mutable vectors. rs=demutingPatrick Walton-1/+1
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-2/+2
2013-02-15libstd: Get rid of `move`.Luqman Aden-15/+15
2013-02-14Remove all final references to die!Nick Desaulniers-1/+1
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-7/+7
2013-02-13rustc and std: teach about #[bench], modernize to use quote_expr! some.Graydon Hoare-78/+435
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-93/+116
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-04std: Stamp out structural recordsTim Chevalier-31/+32
See #4665
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-5/+5
2013-01-29std: Stop using oldcommBrian Anderson-21/+21
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-12/+9
2013-01-24convert most of libstd over to structsErick Tryzelaar-16/+41
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-4/+6
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-19/+22
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-6/+10
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-10/+6
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-6/+10
module scope. r=tjc
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+5
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-6/+17
contain at least two components. r=graydon
2012-12-14Rename core::comm to core::oldcommBrian Anderson-19/+18
2012-12-13Replace some Eq impls with deriving_eqBrian Anderson-7/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Merge remote-tracking branch 'brson/companion' into incomingBrian Anderson-10/+0
Conflicts: src/compiletest/compiletest.rs src/libcargo/cargo.rs src/libcore/core.rs src/librustc/rustc.rs src/librustdoc/rustdoc.rc
2012-11-28Register snapshotsBrian Anderson-10/+0
2012-11-24[libstd] getopts, now with fewer copiesTim Chevalier-2/+2
Change the opt_ functions in getopts to take a reference to a Matches, instead of taking a Matches by-value, as suggested in
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+10
2012-10-25Merge remote-tracking branch '14427/incoming'Brian Anderson-2/+2
Conflicts: src/libstd/sort.rs
2012-10-23core: Use PortOne instead of Future in future_resultBrian Anderson-1/+1
2012-10-22Merge remote-tracking branch 'original/incoming' into incomingSimon BD-5/+5
2012-10-12Make moves explicit in std testsTim Chevalier-5/+5
2012-10-06Merge remote-tracking branch 'original/incoming' into incomingSimon BD-6/+6