about summary refs log tree commit diff
path: root/src/test/run-pass/init-res-into-things.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-82/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-21Allow various lints as part of ui-ifying `src/test/run-pass` suite.Felix S. Klock II-0/+2
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-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-03Add `: Box<_>` or `::Box<_>` type annotations to various places.Felix S. Klock II-2/+2
This is the kind of change that one is expected to need to make to accommodate overloaded-`box`. ---- Note that this is not *all* of the changes necessary to accommodate Issue 22181. It is merely the subset of those cases where there was already a let-binding in place that made it easy to add the necesasry type ascription. (For unnamed intermediate `Box` values, one must go down a different route; `Box::new` is the option that maximizes portability, but has potential inefficiency depending on whether the call is inlined.) ---- There is one place worth note, `run-pass/coerce-match.rs`, where I used an ugly form of `Box<_>` type ascription where I would have preferred to use `Box::new` to accommodate overloaded-`box`. I deliberately did not use `Box::new` here, because that is already done in coerce-match-calls.rs. ---- Precursor for overloaded-`box` and placement-`in`; see Issue 22181.
2015-01-30Remove all `i` suffixesTobias Bucher-6/+6
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-10-02tests: remove uses of Gc.Eduard Burtescu-26/+16
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+1
No longer does anything.
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-7/+7
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
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-10/+11
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-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-1/+1
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-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-15/+17
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-9/+7
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-6/+6
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-6/+6
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-6/+6
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-6/+6
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
2013-01-26testsuite: Eliminate uses of structural records from most run-pass testsTim Chevalier-2/+4
Except the pipes tests (that needs a snapshot)
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-1/+6
2012-10-23Remove uses of binary move - <- - from tests and librariesTim Chevalier-6/+6
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-1/+1
2012-09-06Remove struct ctorsBrian Anderson-3/+6
2012-08-17Remove the class keywordBrian Anderson-1/+1
2012-05-15Start porting tests to use classes with dtors instead of resourcesTim Chevalier-2/+6
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-7/+7
2012-02-05test: Resolve some FIXMEsBrian Anderson-2/+1
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-2/+2
2012-01-13Remove tests for objs, adjust tests that use objsMarijn Haverbeke-9/+0
2011-11-18Add some tests for new kind systemMarijn Haverbeke-2/+11
Issue #1177
2011-09-27Prevent copies of resources into various thingsBrian Anderson-0/+70