about summary refs log tree commit diff
path: root/src/test/auxiliary
AgeCommit message (Collapse)AuthorLines
2013-02-27Turn old `drop` blocks into `Drop` traitsBen Striegel-1/+4
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-10/+10
2013-02-25test: Residual de-muting of the test suite. rs=demutingPatrick Walton-29/+28
2013-02-22test: De-mut the test suite. rs=demutingPatrick Walton-2/+2
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-1/+1
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-11/+11
2013-02-17Remove use of capture clause #4965Seth Pink-1/+1
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-10/+10
slipped through. r=tjc
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-26/+26
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-4/+4
2013-02-13librustc: Make monomorphic newtype structs work cross-cratePatrick Walton-0/+4
2013-02-12auto merge of #4900 : luqmana/rust/core_os_errors, r=graydonbors-2/+2
Rewrote the last pull request (#4859) to not require on llvm for core. Also fixes #2269.
2013-02-12Revert "librustc: Make monomorphic newtype structs work cross-crate"Graydon Hoare-4/+0
This reverts commit a8f039a085c7d7622899b7a4d1bebfe2d7621165.
2013-02-11rt: remove last_os_error and adjust tests.Luqman Aden-2/+2
2013-02-11librustc: Make monomorphic newtype structs work cross-cratePatrick Walton-0/+4
2013-02-05oldmap: use &K instead of K in find and getPatrick Walton-1/+1
This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure.
2013-02-05Revert "oldmap: use &K instead of K in find and get"Graydon Hoare-1/+1
This reverts commit 8e643525d4e5bca993dada43615916c382a0645b.
2013-02-04auto merge of pull req #4777 from thestinger/rust, r=graydonbors-1/+1
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-1/+1
2013-02-03oldmap: use &K instead of K in find and getDaniel Micay-1/+1
2013-02-03Merge remote-tracking branch 'thestinger/old_map' into incomingBrian Anderson-1/+1
Conflicts: src/test/bench/core-map.rs
2013-02-03librustc: Fix bugs regarding to impl privacy. rs=bugfixPatrick Walton-0/+25
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-1/+1
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-4/+4
2013-01-30librustc: Change `self` as a type to `Self` everywhere. r=brsonPatrick Walton-4/+4
2013-01-30librustc: Remove legacy exports from the language. r=brsonPatrick Walton-9/+5
2013-01-30test: Remove export from the tests, language, and libraries. rs=deexportingPatrick Walton-3/+3
2013-01-30test: De-export aux, bench, compile-fail, and run-fail. rs=deexportingPatrick Walton-217/+137
2013-01-30Remove oldcomm from the test suiteBrian Anderson-131/+3
2013-01-29Handle supertrait calls in default methodsTim Chevalier-0/+26
Add a new method_super origin for supertrait methods. Also make coherence create a table that maps pairs of trait IDs and self types to impl IDs, so that it's possible to check a supertrait method knowing only its index in its trait's methods (without knowing all supertraits for a given trait). r=nmatsakis and graydon -- with hope, we'll revamp all of this code as per #4678, but for now this fixes the bug. Closes #3979
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-3/+3
definitions. r=tjc
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-19/+0
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-26testsuite: Eliminate uses of structural records from most run-pass testsTim Chevalier-7/+11
Except the pipes tests (that needs a snapshot)
2013-01-24librustc: Make C functions unsafePatrick Walton-18/+26
2013-01-23test: fix issue 2526 'unsafe' block-keyword, r=burningtree.Graydon Hoare-2/+4
2013-01-17When decoding types, indicate to the def-id conversion function what kind ofNiko Matsakis-0/+13
def-id we have, so that the inliner can distinguish between external and internal def-ids. Also add some comments explaining the distinction! Fixes #4516. r=graydon
2013-01-10Add test cases: one xfailed, one notTim Chevalier-0/+34
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-3/+3
- 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
2012-12-28test: Fix a bunch of compile-fail tests. rs=bustagePatrick Walton-3/+1
2012-12-28test: Fix a couple more tests. rs=bustagePatrick Walton-5/+2
2012-12-28test: Fix a bunch of run-pass tests. rs=bustagePatrick Walton-42/+28
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-1/+1
2012-12-14Fix trait-inheritance-overloading-xc and un-xfailTim Chevalier-1/+1
2012-12-14Rename core::comm to core::oldcommBrian Anderson-3/+3
2012-12-13Rename Send trait to OwnedBrian Anderson-8/+8
2012-12-13Fix encoding of trait static method paths. Closes #4097. r=pcwaltonBrian Anderson-0/+11
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+760