summary refs log tree commit diff
path: root/src/test/auxiliary
AgeCommit message (Collapse)AuthorLines
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-28librustc: Rename Const to FreezePatrick Walton-3/+3
2013-06-25Change finalize -> drop.Luqman Aden-5/+5
2013-06-23Add 'static mut' items to the languageAlex Crichton-0/+1
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+1
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-20Get cross crate default methods working.Michael Sullivan-0/+34
This fixes the large number of problems that prevented cross crate methods from ever working. It also fixes a couple lingering bugs with polymorphic default methods and cleans up some of the code paths. Closes #4102. Closes #4103.
2013-06-16Add copies to type params with Copy boundNiko Matsakis-2/+2
2013-06-13automated whitespace fixesDaniel Micay-3/+0
2013-06-04libsyntax: Remove `pub impl` from the languagePatrick Walton-2/+2
2013-06-01auto merge of #6880 : thomaslee/rust/issue-6745, r=catamorphismbors-0/+22
This fixes #6745, which itself relates to #4202. Slightly ham-fisted -- feel particularly funny about using the typeck phase to gather the base -> impl mapping, and the separate code paths for traits vs. "real" bases feels like it could be avoided -- but it seems to work. As always, open to suggestions if there's a better way to accomplish what I'm trying to do. @catamorphism r?
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-25/+26
2013-06-01Reexport static methods on structs & enums.Tom Lee-0/+22
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-3/+20
2013-05-22test: Update tests and import the prelude in some more places.Patrick Walton-3/+1
2013-05-22test: Update tests to use the new syntax.Patrick Walton-6/+6
2013-05-22librustc: Fix privacy checking for cross-crate variantsPatrick Walton-0/+5
2013-05-22test: Fix tests.Patrick Walton-2/+4
2013-05-22librustc: Disallow `use` from reaching into impls or traits.Patrick Walton-0/+10
This can perhaps be restored in the future. For now this is a precursor to making typedefs work as expected.
2013-05-19Reexport static trait methods on traits in the same module.Tom Lee-0/+10
2013-05-18minor automated whitespace fixesDaniel Micay-1/+0
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-2/+2
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-10Test case for issue #4202Tom Lee-0/+22
2013-05-08test: Fix tests.Patrick Walton-1/+1
2013-05-07test: Replace Durable with 'staticBrian Anderson-1/+1
2013-05-06Fix cross-crate packed structsSeo Sanghyeon-0/+5
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-31/+3
2013-04-30Got test cases to pass, after some major surgeryJohn Clements-10/+15
2013-04-30remove (non-parsing) test related to impl d for d featureJohn Clements-61/+0
2013-04-29librustc: Forbid type implementations on typedefs.Patrick Walton-3/+0
2013-04-29test: Remove #[legacy_modes] from the test suite.Patrick Walton-11/+14
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-2/+2
2013-04-03hashmap: rm linear namespaceDaniel Micay-1/+1
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-3/+3
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-27testsuite: Add various test casesTim Chevalier-0/+3
Some are xfailed, some not, some existing ones get un-xfailed.
2013-03-26test: Fix testsPatrick Walton-2/+2
2013-03-26librustc: Enforce that `extern mod` directives come first, then `use` ↵Patrick Walton-0/+6
directives, then items. Resolve them in this order as well.
2013-03-26test: Remove uses of oldmap::HashMapAlex Crichton-4/+4
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-3/+3
2013-03-22libsyntax: Stop parsing `pure` and `static`Patrick Walton-2/+2
2013-03-22test: Remove `pure` from the test suitePatrick Walton-17/+17
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-8/+8
2013-03-21auto merge of #5480 : pcwalton/rust/at-const, r=pcwaltonbors-0/+1
r? @catamorphism
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis
2013-03-21auto merge of #5461 : catamorphism/rust/flagless, r=nikomatsakisbors-0/+14
r? @nikomatsakis The typechecker previously passed around a boolean return flag to indicate whether it saw something with type _|_ (that is, something it knows at compile-time will definitely diverge) and also had some manual checks for the `ty_err` pseudo-type that represents a previous type error. This was because the typing rules implemented by the typechecker didn't properly propagate _|_ and ty_err. I fixed it. This also required changing expected error messages in a few tests, as now we're printing out fewer derived errors -- in fact, at this point we should print out no derived errors, so report any that you see (ones that include "[type error]") as bugs.
2013-03-21librustc: Forbid access to cross-crate private static methodsPatrick Walton-0/+10
2013-03-20Make typechecker compositionalTim Chevalier-0/+14
The typechecker previously passed around a boolean return flag to indicate whether it saw something with type _|_ (that is, something it knows at compile-time will definitely diverge) and also had some manual checks for the `ty_err` pseudo-type that represents a previous type error. This was because the typing rules implemented by the typechecker didn't properly propagate _|_ and ty_err. I fixed it. This also required changing expected error messages in a few tests, as now we're printing out fewer derived errors -- in fact, at this point we should print out no derived errors, so report any that you see (ones that include "[type error]") as bugs.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-1/+1
notation. rs=delifetiming
2013-03-13test: Fix tests. rs=testsPatrick Walton-1/+1
2013-03-13test: Some test fixesPatrick Walton-3/+3