rust/src/test/run-fail
bors e9bc1bac8c Auto merge of #35764 - eddyb:byegone, r=nikomatsakis
Remove the old AST-based backend from rustc_trans.

Starting with Rust 1.13, `--disable-orbit` , `-Z orbit=off` and `#[rustc_no_mir]` have been removed.
Only the new MIR backend is left in the compiler, and only early const_eval uses ASTs from other crates.

Filling drop (previously "zeroing drop"), `#[unsafe_no_drop_flag]` and associated unstable APIs are gone.
Implementing `Drop` doesn't add a flag anymore to the type, all of the dynamic drop is function local.
This is a [breaking-change], please use `Option::None` and/or `mem::forget` if you are unsure about your ability to prevent/control the drop of a value. In the future, `union` will be usable in some such cases.

**NOTE**: DO NOT MERGE before we get the new beta as the stage0, there's some cruft to remove.

All of this will massively simplify any efforts to implement (and as such it blocks) features such as `union`s, safe use of `#[packed]` or new type layout optimizations, not to mention many other experiments.
2016-08-24 14:57:34 -07:00
..
adjust_never.rs Add explanations to tests 2016-08-13 21:37:09 +08:00
args-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
assert-as-macro.rs Kill more isizes 2015-01-31 17:40:40 +01:00
assert-eq-macro-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
assert-macro-explicit.rs Update infrastructure for fail -> panic 2014-10-29 16:06:13 -04:00
assert-macro-fmt.rs Remove all i suffixes 2015-01-30 04:38:54 +01:00
assert-macro-owned.rs Update infrastructure for fail -> panic 2014-10-29 16:06:13 -04:00
assert-macro-static.rs Update infrastructure for fail -> panic 2014-10-29 16:06:13 -04:00
binop-fail-3.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
binop-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
bounds-check-no-overflow.rs Fallout in tests: largely changes to error messages. 2015-03-30 09:05:59 -04:00
bug-811.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
bug-2470-bounds-check-overflow.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
call-fn-never-arg.rs typeck: use NoExpectation to check return type of diverging fn 2016-08-23 16:58:49 +00:00
cast-never.rs Add explanations to tests 2016-08-13 21:37:09 +08:00
die-macro-expr.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
die-macro-pure.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
die-macro.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
diverging-closure.rs Fix diverging closures 2015-04-06 22:17:35 +09:00
divide-by-zero.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
doublepanic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
dst-raw-slice.rs Remove all i suffixes 2015-01-30 04:38:54 +01:00
explicit-panic-msg.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
explicit-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
expr-fn-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
expr-if-panic-fn.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
expr-if-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
expr-match-panic-fn.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
expr-match-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
fmt-panic.rs test: Rename files, fail -> panic. 2014-11-11 09:36:12 -08:00
for-each-loop-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
glob-use-std.rs Remove use of globs feature gate from tests. 2015-01-05 20:00:10 +11:00
hashmap-capacity-overflow.rs Remove int/uint from libstd/lib.rs 2015-03-01 13:03:44 +01:00
if-check-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
if-cond-bot.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-948.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-2444.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-2761.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
issue-3029.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-6458-1.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-12920.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-13202.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
issue-18576.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-20971.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-23354-2.rs Fix broken codegen for [expr; n] where "expr" diverges 2015-03-14 14:23:43 +01:00
issue-23354.rs Always evaluate the expression in [expr; n] 2015-03-14 14:19:29 +01:00
issue-28934.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
issue-30380.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
main-panic.rs Rename main thread from "<main>" to "main". 2016-05-22 22:42:10 +08:00
match-bot-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
match-disc-bot.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
match-wildcards.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
meta-revision-bad.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
meta-revision-ok.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
mir_drop_panics.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_dynamic_drops_1.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_dynamic_drops_2.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_dynamic_drops_3.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_indexing_oob_1.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_indexing_oob_2.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_indexing_oob_3.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_trans_calls_converging_drops.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_trans_calls_converging_drops_2.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_trans_calls_diverging.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_trans_calls_diverging_drops.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_trans_no_landing_pads.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mir_trans_no_landing_pads_diverging.rs Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
mod-zero.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
never-associated-type.rs Add explanations to tests 2016-08-13 21:37:09 +08:00
never-type-arg.rs Add explanations to tests 2016-08-13 21:37:09 +08:00
overflowing-add.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-lsh-1.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-lsh-2.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-lsh-3.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-lsh-4.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-mul.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-neg.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-pow.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-rsh-1.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-rsh-2.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-rsh-3.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-rsh-4.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-rsh-5.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-rsh-6.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
overflowing-sub.rs Update wording on E0080 2016-08-04 07:31:06 +05:30
panic-arg.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic-macro-any-wrapped.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
panic-macro-any.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic-macro-explicit.rs test: Rename files, fail -> panic. 2014-11-11 09:36:12 -08:00
panic-macro-fmt.rs Remove all i suffixes 2015-01-30 04:38:54 +01:00
panic-macro-owned.rs test: Rename files, fail -> panic. 2014-11-11 09:36:12 -08:00
panic-macro-static.rs test: Rename files, fail -> panic. 2014-11-11 09:36:12 -08:00
panic-main.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic-parens.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic-set-handler.rs std: Clean out old unstable + deprecated APIs 2016-05-30 20:46:32 -07:00
panic-set-unset-handler.rs Auto merge of #33803 - WiSaGaN:feature/rename-main-thread, r=alexcrichton 2016-06-03 19:36:32 -07:00
panic-take-handler-nop.rs Auto merge of #33803 - WiSaGaN:feature/rename-main-thread, r=alexcrichton 2016-06-03 19:36:32 -07:00
panic-task-name-none.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic-task-name-owned.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
result-get-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
return-never-coerce.rs Add explanations to tests 2016-08-13 21:37:09 +08:00
rhs-type.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
run-unexported-tests.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
str-overrun.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
task-spawn-barefn.rs Fix the tests broken by replacing task with thread 2015-05-09 04:04:08 +09:00
test-panic.rs Revise std::thread API to join by default 2014-12-18 23:31:52 -08:00
test-should-fail-bad-message.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
test-tasks-invalid-value.rs RUST_TEST_TASKS -> RUST_TEST_THREADS 2015-03-19 15:42:56 -04:00
tls-exit-status.rs Replace some uses of deprecated os functions 2015-02-16 16:19:24 +02:00
unimplemented-macro-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unique-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unreachable-fmt-msg.rs Add optional messages to the unreachable macro. 2014-11-10 19:35:25 -08:00
unreachable-macro-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unreachable-static-msg.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unreachable.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unwind-interleaved.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unwind-rec.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unwind-rec2.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
unwind-unique.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
vec-overrun.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
while-body-panics.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
while-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30