1
Fork 0
rust/compiler/rustc_const_eval/src/transform
Nilstrieb 81a583c21e Try normalizing types without RevealAll in ParamEnv in mir validation
Before, the MIR validator used RevealAll in its ParamEnv for type
checking. This could cause false negatives in some cases due to
RevealAll ParamEnvs not always use all predicates as expected here.

Since some MIR passes like inlining use RevealAll as well, keep using
it in the MIR validator too, but when it fails usign RevealAll, also
try the check without it, to stop false negatives.
2022-08-29 16:27:52 +02:00
..
check_consts Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obk 2022-08-29 06:34:43 +02:00
mod.rs Don't re-export MirPass 2021-11-29 12:58:15 -08:00
promote_consts.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
validate.rs Try normalizing types without RevealAll in ParamEnv in mir validation 2022-08-29 16:27:52 +02:00