about summary refs log tree commit diff
path: root/src/test/run-pass/reflect-visit-data.rs
AgeCommit message (Collapse)AuthorLines
2014-02-11remove antiquated reflect test rather than bring it up to dateNiko Matsakis-627/+0
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-2/+2
2014-02-07Removed @self and @Trait.Eduard Burtescu-2/+2
2014-02-02Update/delete tests using @[].Huon Wilson-3/+0
2014-02-02test: Remove `@str` from the test suitePatrick Walton-3/+0
2014-01-27Demote self to an (almost) regular argument and remove the env param.Eduard Burtescu-16/+0
Fixes #10667 and closes #10259.
2014-01-14remove reference counting headers from ~Daniel Micay-16/+0
Unique pointers and vectors currently contain a reference counting header when containing a managed pointer. This `{ ref_count, type_desc, prev, next }` header is not necessary and not a sensible foundation for tracing. It adds needless complexity to library code and is responsible for breakage in places where the branch has been left out. The `borrow_offset` field can now be removed from `TyDesc` along with the associated handling in the compiler. Closes #9510 Closes #11533
2014-01-04Don't allow newtype structs to be dereferenced. #6246Brian Anderson-64/+77
2014-01-03test: De-`@mut` the test suitePatrick Walton-12/+22
2013-11-26test: Remove non-procedure uses of `do` from compiletest, libstd tests,Patrick Walton-12/+4
compile-fail tests, run-fail tests, and run-pass tests.
2013-11-26test: Remove most uses of `&fn()` from the tests.Patrick Walton-3/+3
2013-11-04libsyntax/librustc: Allow calling variadic foreign functions.Luqman Aden-3/+3
2013-10-29Adjust reflection for the possibility of discriminants larger than int.Jed Davis-9/+9
Not only can discriminants be smaller than int now, but they can be larger than int on 32-bit targets. This has obvious implications for the reflection interface. Without this change, things fail with LLVM assertions when we try to "extend" i64 to i32.
2013-10-23register snapshotsDaniel Micay-0/+2
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-4/+4
Who doesn't like a massive renaming?
2013-10-17std: Move size/align functions to std::mem. #2240Brian Anderson-3/+3
2013-10-01remove the `float` typeDaniel Micay-8/+0
It is simply defined as `f64` across every platform right now. A use case hasn't been presented for a `float` type defined as the highest precision floating point type implemented in hardware on the platform. Performance-wise, using the smallest precision correct for the use case greatly saves on cache space and allows for fitting more numbers into SSE/AVX registers. If there was a use case, this could be implemented as simply a type alias or a struct thanks to `#[cfg(...)]`. Closes #6592 The mailing list thread, for reference: https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html
2013-09-30rpass: Remove usage of fmt!Alex Crichton-3/+3
2013-09-26Update the compiler to not use printf/printflnAlex Crichton-2/+2
2013-09-23test: Fix rustdoc and tests.Patrick Walton-2/+2
2013-09-02repr: handle tuple structs sanelyDaniel Micay-11/+11
Closes #8919
2013-09-02repr: add support for trait objectsDaniel Micay-3/+3
Closes #8916
2013-08-31auto merge of #8899 : thestinger/rust/repr, r=huonwbors-6/+6
2013-08-31repr: print the name of structsDaniel Micay-6/+6
2013-08-30fix various warningsErick Tryzelaar-1/+0
2013-08-28Remove @io::Writer from sys/repr/reflectAlex Crichton-128/+127
At the same time, this updates the TyVisitor to use a mutable self because it's probably going to be mutating state as it goes along anyway.
2013-08-27reflect: rm unused visit_{var,var_integral,constr}Daniel Micay-18/+0
2013-08-20rm obsolete integer to_str{,_radix} free functionsDaniel Micay-1/+1
2013-08-11tests: Add new tests for borrowck/objects and update some existing testsNiko Matsakis-2/+2
2013-08-03remove obsolete `foreach` keywordDaniel Micay-1/+1
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-1/+1
2013-07-26Consolidate raw representations of rust valuesAlex Crichton-2/+2
This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern).
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/test/Birunthan Mohanathas-1/+1
2013-07-18auto merge of #7842 : thestinger/rust/closure, r=huonwbors-8/+0
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-2/+2
2013-07-17rm unused visit_str method from TyVisitorDaniel Micay-8/+0
2013-07-15remove headers from unique vectorsDaniel Micay-0/+8
2013-07-08remove headers from exchange allocationsDaniel Micay-0/+8
2013-06-23Remove intrinsic modulePhilipp Brüschweiler-10/+10
To achieve this, the following changes were made: * Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics * Convert TyDesc, TyVisitor and Opaque to lang items instead of specially handling the intrinsics module * Removed TypeDesc, FreeGlue and get_type_desc() from sys Fixes #3475.
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+2
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-16Add copies to type params with Copy boundNiko Matsakis-2/+2
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-8/+8
2013-05-31bool: rm functions duplicating methodsDaniel Micay-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+4
2013-05-22test: Update tests to use the new syntax.Patrick Walton-3/+3
2013-05-08test: Fix tests.Patrick Walton-1/+1
2013-05-01avoid broken += operator, bogus use of constNiko Matsakis-8/+8
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-1/+1
2013-04-08Export adt::trans_get_discr abstractly to the type visitor.Jed Davis-5/+11
2013-04-08Feed enum field offsets to type vistors.Jed Davis-3/+3