Skip to content

Commit

Permalink
Auto merge of rust-lang#104905 - compiler-errors:normalization-change…
Browse files Browse the repository at this point in the history
…s, r=spastorino

Some initial normalization method changes

1. Rename `AtExt::normalize` to `QueryNormalizeExt::query_normalize` (using the `QueryNormalizer`)
2. Introduce `NormalizeExt::normalize` to replace `partially_normalize_associated_types_in` (using the `AssocTypeNormalizer`)
3. Rename `FnCtxt::normalize_associated_types_in` to `FnCtxt::normalize`
4. Remove some unused other normalization fns in `Inherited` and `FnCtxt`

Also includes one drive-by where we're no longer creating a `FnCtxt` inside of `check_fn`, but passing it in. This means we don't need such weird `FnCtxt` construction logic.

Stacked on top of rust-lang#104835 for convenience.

r? types
  • Loading branch information
bors committed Nov 30, 2022
2 parents 61d6172 + 9fd7f7e commit 56a8c3c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 56a8c3c

Please sign in to comment.