about summary refs log tree commit diff
path: root/src/test/auxiliary
AgeCommit message (Collapse)AuthorLines
2013-08-19Add tests for cross-crate condition handling. Close #5446.Graydon Hoare-0/+84
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-0/+1
2013-08-17Fix warnings it testsErick Tryzelaar-15/+9
2013-08-15Add even more testsAlex Crichton-0/+25
Closes #8248 Closes #8249 Closes #8398 Closes #8401
2013-08-15Fix a typo in the ifmt doxAlex Crichton-1/+1
2013-08-13Add a bunch of tests for closed issuesAlex Crichton-0/+37
Closes #3907 Closes #5493 Closes #4464 Closes #4759 Closes #5666 Closes #5884 Closes #5926 Closes #6318 Closes #6557 Closes #6898 Closes #6919 Closes #7222
2013-08-12Forbid pub/priv where it has no effectAlex Crichton-5/+5
Closes #5495
2013-08-10Merge branch 'enum-method-privacy' of ↵Erick Tryzelaar-3/+27
https://github.com/michaelwoerister/rust into rollup Conflicts: src/libsyntax/opt_vec.rs
2013-08-07Fix falloutCorey Richardson-1/+1
2013-08-07Fix unit structs in cross-crate situtationsAlex Crichton-0/+31
2013-08-07Enable privacy check for enum methods.Michael Woerister-3/+27
2013-08-03remove obsolete `foreach` keywordDaniel Micay-1/+1
this has been replaced by `for`
2013-08-01auto merge of #8216 : thestinger/rust/range, r=huonwbors-1/+1
2013-08-02replace `range` with an external iteratorDaniel Micay-1/+1
2013-08-01auto merge of #8185 : alexcrichton/rust/issue-8179, r=pcwaltonbors-0/+23
* All globals marked as `pub` won't have the `internal` linkage type set * All global references across crates are forced to use the address of the global in the other crate via an external reference. r? @graydon Closes #8179
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-1/+1
2013-08-01Resolve globals having different addresses across cratesAlex Crichton-0/+23
* All globals marked as `pub` won't have the `internal` linkage type set * All global references across crates are forced to use the address of the global in the other crate via an external reference.
2013-07-30test: Use a test extern in various foreign fn testsBrian Anderson-2/+2
2013-07-25Allow linking against crates with #[no_std]Alex Crichton-0/+3
Previously having optional lang_items caused an assertion failure at compile-time, and then once that was fixed there was a segfault at runtime of using a NULL crate-map (crates with no_std)
2013-07-25auto merge of #8015 : msullivan/rust/default-methods, r=nikomatsakisbors-3/+4
Lots of changes to vtable resolution, handling of super/self method calls in default methods. Fix a lot of trait inheritance bugs. r? @nikomatsakis
2013-07-23Fix the issue-3979 tests and add a new test.Michael Sullivan-3/+4
2013-07-22Add a test for #5844 (a closed issue now)Alex Crichton-0/+16
2013-07-20librustc: Remove `pub extern` and `priv extern` from the language.Patrick Walton-15/+15
Place `pub` or `priv` on individual items instead.
2013-07-20auto merge of #7894 : pcwalton/rust/and-pointers-in-at-boxes, r=brsonbors-4/+8
r? @brson
2013-07-18librustc: Forbid `&` pointers (other than `&'static`) inside `@` boxes.Patrick Walton-4/+8
This makes custom borrowing implementations for custom smart pointers sound.
2013-07-18Export information about used default methods instead of regenerating it. ↵Michael Sullivan-0/+17
Closes #7862.
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-1/+1
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-16/+18
2013-07-17Clean-up tests after debug!/std-macros change.Huon Wilson-1/+1
The entire testsuite is converted to using info! rather than debug! because some depend on the code within the debug! being trans'd.
2013-07-11Take default methods out from behind the flag.Michael Sullivan-2/+0
2013-07-11Get cross crate static default methods working. Closes #7569.Michael Sullivan-1/+3
2013-07-03Make privacy checking on default methods for cross crate structs not fail. ↵Michael Sullivan-0/+6
Closes #7481. It is unclear to me that the way method call privacy checking is done makes any sense, though. It is only performed if the type is a struct...
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.