rust/src/test
Dylan DPC c6030c957a
Rollup merge of #71973 - lcnr:lazy-norm, r=nikomatsakis
Lazy normalization of constants (Reprise)

Continuation of #67890 by @skinny121.

Initial implementation of #60471 for constants.

Perform normalization/evaluation of constants lazily, which is known as lazy normalization. Lazy normalization is only enabled when using `#![feature(lazy_normalization_consts)]`, by default constants are still evaluated eagerly as there are currently.

Lazy normalization of constants is achieved with a new ConstEquate predicate which type inferences uses to delay checking whether constants are equal to each other until later, avoiding cycle errors.

Note this doesn't allow the use of generics within repeat count expressions as that is still evaluated during conversion to mir. There are also quite a few other known problems with lazy normalization which will be fixed in future PRs.

r? @nikomatsakis

fixes #71922, fixes #71986
2020-05-18 19:04:03 +02:00
..
assembly
auxiliary test: Fix warnings in rust_test_helpers.c 2020-05-06 23:54:05 +03:00
codegen cmdline: Make target features individually overridable 2020-05-11 02:04:53 +03:00
codegen-units Keep codegen units unmerged when building compiler builtins 2020-04-06 00:00:00 +00:00
compile-fail Add Option to Force Unwind Tables 2020-05-04 12:08:35 +01:00
debuginfo Update the minimum external LLVM to 8 2020-04-14 12:44:41 -07:00
incremental Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkov 2020-05-16 19:46:29 +02:00
mir-opt Auto merge of #72135 - oli-obk:const_prop_deaggregates, r=wesleywiser 2020-05-17 09:18:12 +00:00
pretty Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
run-make Use Cell::take in a couple places 2020-04-26 11:50:53 +02:00
run-make-fulldeps Auto merge of #70674 - cjgillot:query-arena-all, r=matthewjasper 2020-05-01 01:38:05 +00:00
run-pass-valgrind
rustdoc Make intra links work inside trait impl block 2020-05-13 20:24:14 +02:00
rustdoc-js Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-js-std Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-ui Add rustdoc regression test for the unused_braces lint 2020-04-24 19:15:07 +02:00
rustfix
ui Rollup merge of #71973 - lcnr:lazy-norm, r=nikomatsakis 2020-05-18 19:04:03 +02:00
ui-fulldeps Remove ty::UnnormalizedProjection 2020-05-12 01:56:29 -04:00
COMPILER_TESTS.md