about summary refs log tree commit diff
path: root/src/test/run-pass/trait-object-generics.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-52/+0
2018-08-05Convert unknown_features lint into an errorvarkor-2/+0
2017-07-08Remove more anonymous trait method parametersVadim Petrochenkov-1/+1
2015-09-24Remove the deprecated box(PLACE) syntax.Eduard Burtescu-1/+1
2015-04-08Remove pretty-expanded from failing testsAlex Crichton-1/+0
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-2/+2
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-1/+1
2015-02-18Fallout: tests. As tests frequently elide things, lots of changesNiko Matsakis-4/+7
here. Some of this may have been poorly rebased, though I tried to be careful and preserve the spirit of the test.
2015-01-08fallout: run-pass tests that use box. (many could be ported to `Box::new` ↵Felix S. Klock II-0/+2
instead in the future.)
2014-11-17Switch to purely namespaced enumsSteven Fackler-1/+1
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-08-27Implement generalized object and type parameter bounds (Fixes #16462)Niko Matsakis-1/+1
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-2/+3
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-02-07Added tests to make tidyDerek Guenther-1/+2
2014-02-07Removed @self and @Trait.Eduard Burtescu-4/+2
2013-10-23register snapshotsDaniel Micay-0/+2
2013-09-25Fix run-pass tests to have 'pub fn main'Alex Crichton-1/+1
This is required by the check-fast target because each test is slurped up into a submodule.
2013-08-22Don't do a bogus substitution on the transformed self ty for objects. Closes ↵Michael Sullivan-0/+20
#8664.
2013-08-22Substitute into the impl method rather than the trait method when emitting ↵Michael Sullivan-0/+26
vtables. Closes #8601.