about summary refs log tree commit diff
path: root/src/test/run-pass/terminate-in-initializer.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-33/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2016-05-09Utilize `Result::unwrap_err` in more places.Corey Farwell-2/+2
2016-02-11Ignore tests that use threads on emscriptenPierre Krieger-0/+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-5/+5
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-02-17Test fixes and rebase conflictsAlex Crichton-3/+3
2015-01-30Remove all `i` suffixesTobias Bucher-1/+1
2015-01-06Fallout from stabilizationAaron Turon-2/+2
2015-01-03Remove deprecated functionalityAlex Crichton-3/+3
This removes a large array of deprecated functionality, regardless of how recently it was deprecated. The purpose of this commit is to clean out the standard libraries and compiler for the upcoming alpha release. Some notable compiler changes were to enable warnings for all now-deprecated command line arguments (previously the deprecated versions were silently accepted) as well as removing deriving(Zero) entirely (the trait was removed). The distribution no longer contains the libtime or libregex_macros crates. Both of these have been deprecated for some time and are available externally.
2014-12-14Mostly rote conversion of `proc()` to `move||` (and occasionally `Thunk::new`)Niko Matsakis-2/+2
2014-10-29Rename fail! to panic!Steve Klabnik-6/+6
https://github.com/rust-lang/rfcs/pull/221 The current terminology of "task failure" often causes problems when writing or speaking about code. You often want to talk about the possibility of an operation that returns a Result "failing", but cannot because of the ambiguity with task failure. Instead, you have to speak of "the failing case" or "when the operation does not succeed" or other circumlocutions. Likewise, we use a "Failure" header in rustdoc to describe when operations may fail the task, but it would often be helpful to separate out a section describing the "Err-producing" case. We have been steadily moving away from task failure and toward Result as an error-handling mechanism, so we should optimize our terminology accordingly: Result-producing functions should be easy to describe. To update your code, rename any call to `fail!` to `panic!` instead. Assuming you have not created your own macro named `panic!`, this will work on UNIX based systems: grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g' You can of course also do this by hand. [breaking-change]
2014-10-02tests: remove uses of Gc.Eduard Burtescu-6/+5
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+0
No longer does anything.
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-1/+1
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-14rustc: Obsolete the `@` syntax entirelyAlex Crichton-5/+6
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-03-14extra: Put the nail in the coffin, delete libextraAlex Crichton-2/+0
This commit shreds all remnants of libextra from the compiler and standard distribution. Two modules, c_vec/tempfile, were moved into libstd after some cleanup, and the other modules were moved to separate crates as seen fit. Closes #8784 Closes #12413 Closes #12576
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2013-11-26librustc: Make `||` lambdas not infer to `proc`sPatrick Walton-2/+2
2013-10-23register snapshotsDaniel Micay-0/+2
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-2/+2
Who doesn't like a massive renaming?
2013-10-01Migrate users of 'loop' to 'continue'Alex Crichton-1/+1
Closes #9467
2013-09-30rpass: Remove usage of fmt!Alex Crichton-2/+2
2013-08-22Enabled tests.Vadim Chugunov-1/+0
2013-08-17Fix warnings it testsErick Tryzelaar-5/+5
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-22test: Update tests to use the new syntax.Patrick Walton-1/+1
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-1/+1
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-1/+1
2012-08-01Convert ret to returnBrian Anderson-1/+1
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-2/+2
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-1/+1
2012-03-10Tweak some test cases and add a few new onesTim Chevalier-1/+1
2012-03-09Add an infinite loop constructTim Chevalier-1/+1
Add a loop {} construct for infinite loops, and use it in test cases. See #1906 for details.
2012-02-20core: New task APIBrian Anderson-4/+4
2012-01-06port over the tests to use the new APINiko Matsakis-4/+4
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-4/+4
2011-10-20Remove temporary fn# syntaxBrian Anderson-2/+2
2011-10-20Get windows working under the bare function regimeBrian Anderson-0/+1
Had to ignore some task failure tests due to the current implementation of spawn which guarantees that there's always something in the spawned task that needs to be unwound. Fixed some win-specific build problems.
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-2/+2
Issue #1022
2011-10-20Convert tests to use bare-fn spawnBrian Anderson-6/+4
Issue #1022