]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #106938 - GuillaumeGomez:normalize-projection-field-ty, r=oli-obk
authorbors <bors@rust-lang.org>
Thu, 9 Feb 2023 07:08:19 +0000 (07:08 +0000)
committerbors <bors@rust-lang.org>
Thu, 9 Feb 2023 07:08:19 +0000 (07:08 +0000)
Add missing normalization for union fields types

Overshadows https://github.com/rust-lang/rust/pull/106808.
From the experiment https://github.com/rust-lang/rust/pull/103985.

In short, it allows to use projections as a type for union's fields.

cc `@compiler-errors`
r? `@oli-obk`

1  2 
compiler/rustc_hir_analysis/src/check/check.rs