about summary refs log tree commit diff
path: root/src/test/auxiliary
AgeCommit message (Collapse)AuthorLines
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
2013-03-13librustc: Remove implicit self from the language, except for old-style drop ↵Patrick Walton-28/+28
blocks.
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-1/+1
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-1/+1
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-11test: Fix tests. rs=testsPatrick Walton-2/+2
2013-03-11test: Remove newtype enums from the test suite. rs=deenumPatrick Walton-2/+2
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-4/+4
2013-03-08test: Removing dvec usesAlex Crichton-7/+4
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-23/+32
rs=deexterning
2013-03-07Inline constants across crates.Josh Matthews-0/+16
2013-03-06Fix bug in coherence that causes all cross-crate impls to be regarded asNiko Matsakis-0/+21
inherent impls, not just those of the `impl Type` variety.
2013-03-05libsyntax: Separate multiple inherited traits with `+`Patrick Walton-2/+2
2013-03-02test: Remove `fn@`, `fn~`, and `fn&` from the test suite. rs=defunPatrick Walton-2/+3
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-2/+2
imports
2013-02-28Remove legacy object creation mode, and convert remaining uses of itNiko Matsakis-1/+1
2013-02-28librustc: Enforce cross-crate method privacyPatrick Walton-2/+2
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-2/+2
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