rust/compiler/rustc_traits
Ali MJ Al-Nasrawy d227506683 don't normalize in astconv
We delay projection normalization to further stages in order to
register user type annotations before normalization in HIR typeck.

There are two consumers of astconv: ItemCtxt and FnCtxt.
The former already expects unnormalized types from astconv, see its
AstConv trait impl.
The latter needs `RawTy` for a cleaner interface.

Unfortunately astconv still needs the normalization machinery in
order to resolve enum variants that have projections in the self type,
e.g. `<<T as Trait>::Assoc>::StructVariant {}`.
This is why `AstConv::normalize_ty_2` is necessary.
2023-01-07 13:38:38 +03:00
..
src don't normalize in astconv 2023-01-07 13:38:38 +03:00
Cargo.toml move some layout logic to rustc_target::abi::layout 2022-11-24 16:26:12 +03:30