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
assert-eq-macro-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
assert-macro-explicit.rs
assert-macro-fmt.rs
assert-macro-owned.rs
assert-macro-static.rs
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
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
die-macro-pure.rs
die-macro.rs
diverging-closure.rs
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
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
for-each-loop-panic.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
glob-use-std.rs
hashmap-capacity-overflow.rs
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
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
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
issue-23354.rs
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_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_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_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_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_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
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
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
panic-macro-any.rs run rustfmt on test/run-fail folder 2016-06-06 00:21:14 +05:30
panic-macro-explicit.rs
panic-macro-fmt.rs
panic-macro-owned.rs
panic-macro-static.rs
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
task-spawn-barefn.rs
test-panic.rs
test-should-fail-bad-message.rs
test-tasks-invalid-value.rs
tls-exit-status.rs
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
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-rec2.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-unique.rs
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