rust/src/test
Josh Stone c2e0d7f1eb Never return uninhabited values at all
Functions with uninhabited return values are already marked `noreturn`,
but we were still generating return instructions for this. When running
with `-C passes=lint`, LLVM prints:

    Unusual: Return statement in function with noreturn attribute

The LLVM manual makes a stronger statement about `noreturn` though:

> This produces undefined behavior at runtime if the function ever does
dynamically return.

We now emit an `abort` anywhere that would have tried to return an
uninhabited value.
2019-04-03 15:44:49 -07:00
..
assembly Introduce assembly tests 2019-02-27 23:33:05 +01:00
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
codegen Never return uninhabited values at all 2019-04-03 15:44:49 -07:00
codegen-units Remove licenses 2018-12-25 21:08:33 -07:00
compile-fail Allow closure to unsafe fn coercion 2019-04-01 00:00:43 +09:00
debuginfo Rollup merge of #59380 - philipc:thinlto-variant, r=michaelwoerister 2019-03-30 14:14:53 +01:00
incremental Regression test for incremental treatment of rustc_scalar_valid_range_{start,end}. 2019-03-29 15:05:03 +01:00
mir-opt Fixes for shallow borrows 2019-03-31 15:14:50 +01:00
pretty rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
run-fail Use the correct state for poisoning a generator 2019-03-03 20:34:26 +00:00
run-make Introduce assembly tests 2019-02-27 23:33:05 +01:00
run-make-fulldeps Rollup merge of #59371 - dlrobertson:rename_va_list_copy, r=joshtriplett 2019-03-28 13:35:40 +01:00
run-pass Refactor async fn return type lowering 2019-04-01 18:25:57 -07:00
run-pass-fulldeps Auto merge of #58556 - oli-obk:imperative_recursion, r=pnkfelix 2019-03-15 19:24:15 +00:00
run-pass-valgrind Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc Auto merge of #58927 - GuillaumeGomez:default-keyword, r=QuietMisdreavus 2019-03-21 08:55:50 +00:00
rustdoc-js Move rustdoc-js testing into compiletest 2019-02-28 18:08:48 +01:00
rustdoc-js-std Rename rustdoc js test suites 2019-02-25 17:46:06 +01:00
rustdoc-ui compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00
rustfix tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
ui Refactor async fn return type lowering 2019-04-01 18:25:57 -07:00
ui-fulldeps Moved issue tests to subdirs and normalised names. 2019-03-14 01:00:49 +00:00
COMPILER_TESTS.md