diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-08 23:15:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-08 23:15:11 +0100 |
| commit | 4df6134f1ace9b29d44b035976801fd0d9981611 (patch) | |
| tree | 2c2c562501199a111451c6c6c1a7fa38a40c2f1d /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs | |
| parent | f967532a47eb728ada44473a5c4c2eca1a45fe30 (diff) | |
| parent | 80f240a539f3fa8c2892fccb0a0a54ca96589fc7 (diff) | |
| download | rust-4df6134f1ace9b29d44b035976801fd0d9981611.tar.gz rust-4df6134f1ace9b29d44b035976801fd0d9981611.zip | |
Rollup merge of #117586 - compiler-errors:the-canonicalizer, r=lcnr
Uplift the (new solver) canonicalizer into `rustc_next_trait_solver` Uplifts the new trait solver's canonicalizer into a new crate called `rustc_next_trait_solver`. The crate name is literally a bikeshed-avoidance name, so let's not block this PR on that -- renames are welcome later. There are a host of other changes that were required to make this possible: * Expose a `ConstTy` trait to get the `Interner::Ty` from a `Interner::Const`. * Expose some constructor methods to construct `Bound` variants. These are currently methods defined on the interner themselves, but they could be pulled into traits later. * Expose a `IntoKind` trait to turn a `Ty`/`Const`/`Region` into their corresponding `*Kind`s. * Some minor tweaks to other APIs in `rustc_type_ir`. The canonicalizer code itself is best reviewed **with whitespace ignored.** r? ``@lcnr``
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions
