rust/compiler/rustc_middle/src
Matthias Krüger 317f750ff7
Rollup merge of #91551 - b-naber:const-eval-normalization-ice, r=oli-obk
Allow for failure of subst_normalize_erasing_regions in const_eval

Fixes https://github.com/rust-lang/rust/issues/72845

Using associated types that cannot be normalized previously resulted in an ICE. We now allow for normalization failure and return a "TooGeneric" error in that case.

r? ```@RalfJung``` maybe?
2021-12-08 16:08:07 +01:00
..
dep_graph Address review. 2021-10-20 18:51:15 +02:00
hir Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino" 2021-12-03 10:11:21 -03:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Remove unused root_parent. 2021-11-28 21:48:28 +01:00
mir Auto merge of #91279 - scottmcm:small-refactor, r=nagisa 2021-12-06 13:04:18 +00:00
query address review 2021-12-01 12:12:40 +01:00
thir add a CastKind to Node::Cast 2021-09-09 01:32:03 +01:00
traits Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino" 2021-12-03 10:11:21 -03:00
ty Rollup merge of #91551 - b-naber:const-eval-normalization-ice, r=oli-obk 2021-12-08 16:08:07 +01:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Add some comments. 2021-11-19 07:52:59 +11:00
lib.rs std: Stabilize the thread_local_const_init feature 2021-11-29 07:23:46 -08:00
lint.rs Simplify for loop desugar 2021-11-21 08:15:21 -06:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs rename mir -> thir around abstract consts 2021-09-09 01:32:03 +01:00