rust/compiler/rustc_const_eval/src/transform
Matthias Krüger c1d722c1cf
Rollup merge of #107074 - lcnr:validate-dont-skip-opaque, r=compiler-errors
remove unnecessary check for opaque types

this isn't needed and may hide some errors.

after analysis there are no opaque types so it's a noop anyways

before analysis there are opaque types but due to `Reveal::UserFacing` we don't reveal them. `is_subtype` simply discards the opaque type constraints as these will get checked again during mir borrowck.

r? types

want to land this after the beta-cutoff as mir validator changes are apparently pretty scary
2023-01-26 07:53:25 +01:00
..
check_consts fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
mod.rs Don't re-export MirPass 2021-11-29 12:58:15 -08:00
promote_consts.rs tidy 2023-01-17 07:48:19 +00:00
validate.rs remove unnecessary check for opaque types 2023-01-19 16:06:25 +01:00