about summary refs log tree commit diff
path: root/src/test/run-pass/resource-in-struct.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-44/+0
2015-04-28Register new snapshotsTamir Duberstein-4/+0
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-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.
2014-11-17Switch to purely namespaced enumsSteven Fackler-2/+2
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-10-02tests: remove uses of Gc.Eduard Burtescu-6/+5
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+1
No longer does anything.
2014-06-20librustc: Put `#[unsafe_destructor]` behind a feature gate.Patrick Walton-1/+1
Closes #8142. This is not the semantics we want long-term. You can continue to use `#[unsafe_destructor]`, but you'll need to add `#![feature(unsafe_destructor)]` to the crate attributes. [breaking-change]
2014-06-14rustc: Obsolete the `@` syntax entirelyAlex Crichton-2/+3
This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change]
2014-04-14Use new attribute syntax in python files in src/etc too (#13478)Manish Goregaokar-1/+1
2014-01-03test: De-`@mut` the test suitePatrick Walton-4/+6
2013-10-23register snapshotsDaniel Micay-0/+2
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-08-17Fix warnings it testsErick Tryzelaar-4/+2
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-1/+4
contain non-Owned fields. r=nmatsakis
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-11-29librustc: Make the Drop trait use explicit selfPatrick Walton-1/+1
2012-11-14Convert the test suite to use the Drop traitBen Striegel-2/+7
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-1/+1
2012-09-06Remove struct ctorsBrian Anderson-1/+6
2012-08-17Remove the class keywordBrian Anderson-1/+1
2012-06-01Port more test cases to use classes instead of resourcesTim Chevalier-3/+8
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-2/+2
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-1/+1
tests accordingly.
2012-01-19test: "tag" -> "enum" in run-pass and run-failPatrick Walton-1/+1
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-10-28Move to short kind kinds words in test suiteMarijn Haverbeke-1/+1
Issue #1076
2011-10-25Step one towards new type param kind syntaxMarijn Haverbeke-1/+1
Issue #1067 Needs a snapshot to finalize.
2011-08-20ReformatBrian Anderson-5/+3
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the tests to the decl foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-07-29Fix iter_structural_ty_full for resource typesMarijn Haverbeke-0/+19
The compiler would blow up when compiling a structural type containing a resource.