]> git.lizzy.rs Git - rust.git/commit
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)
commitc40919b7a75f93ed7ef040361e82c656d246d41e
tree377924acdd0e3fabb3894b64f426b51acf650e77
parente7acd078f443156b95cee11759a735db1cfc796e
parent6c63b9497dfcd546199db03174ac11866bf3bfb8
Auto merge of #106938 - GuillaumeGomez:normalize-projection-field-ty, r=oli-obk

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`
compiler/rustc_hir_analysis/src/check/check.rs