diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2023-03-30 21:07:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-30 21:07:02 +0900 |
| commit | c1b28c3435e6ae5297f4c888c9c3ac494fe8e26f (patch) | |
| tree | fb2a1d38ff3ab22951f8df96d8a56f2d1b30da79 /compiler/rustc_codegen_gcc | |
| parent | ae9c1bf0903a75e6f7229425ce6b0f2d9f9d8e7a (diff) | |
| parent | 321a5dba9ee42e2950bbff14c7dfb38e07d21bc4 (diff) | |
| download | rust-c1b28c3435e6ae5297f4c888c9c3ac494fe8e26f.tar.gz rust-c1b28c3435e6ae5297f4c888c9c3ac494fe8e26f.zip | |
Rollup merge of #109748 - compiler-errors:new-solver-discr-kind-ice, r=lcnr
Don't ICE on `DiscriminantKind` projection in new solver As title says, since we now actually call `Ty::discriminant_kind` on placeholder types 😃 Also drive-by simplify `Pointee::Metadata` projection logic, and fix the UI test because the `<T as Pointee>::Metadata` tests weren't actually exercising the new projection logic, since we still eagerly normalize (which hits `project.rs` in the old solver) in HIR typeck. r? `@lcnr` tho feel free to re-roll, this pr is very low-priority and not super specific to the new trait solver. Fixes compiler-errors/next-solver-hir-issues#14
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
