rust/src/test
Yuki Okushi 89b065dbd2
Rollup merge of #67914 - Aaron1011:fix/const-prop-impossible, r=matthewjasper,oli-obk
Don't run const propagation on items with inconsistent bounds

Fixes #67696

Using `#![feature(trivial_bounds)]`, it's possible to write functions
with unsatisfiable 'where' clauses, making them uncallable. However, the
user can act as if these 'where' clauses are true inside the body of the
function, leading to code that would normally be impossible to write.

Since const propgation can run even without any user-written calls to a
function, we need to explcitly check for these uncallable functions.
2020-01-15 21:51:43 +09:00
..
assembly
auxiliary
codegen Auto merge of #67900 - nikic:prepare-llvm-10, r=nagisa 2020-01-13 04:01:00 +00:00
codegen-units
compile-fail Errors in promoteds may only cause lints not hard errors 2020-01-10 09:08:25 +01:00
debuginfo Remove legacy debuginfo tests 2020-01-07 21:28:22 +01:00
incremental Add a test for #37333 2020-01-01 13:07:41 +01:00
mir-opt Add unreachable propagation mir optimization pass 2020-01-14 08:22:10 +01:00
pretty ast_stmt_expr_attr -> pretty & ui tests 2019-12-20 22:53:40 +01:00
run-fail Errors in promoteds may only cause lints not hard errors 2020-01-10 09:08:25 +01:00
run-make Check for the entry kind 2020-01-08 10:05:44 +01:00
run-make-fulldeps Abort if C++ tries to swallow a Rust panic 2020-01-11 10:18:44 +00:00
run-pass-valgrind
rustdoc Code review changes and fix rustdoc test. 2020-01-14 07:47:45 +13:00
rustdoc-js
rustdoc-js-std
rustdoc-ui buffer lexer errors in rustdoc syntax checking 2020-01-04 19:20:35 -05:00
rustfix
ui Rollup merge of #67914 - Aaron1011:fix/const-prop-impossible, r=matthewjasper,oli-obk 2020-01-15 21:51:43 +09:00
ui-fulldeps fix ui-fulldeps & tests fallout 2020-01-11 07:42:26 +01:00
COMPILER_TESTS.md