about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-30 11:13:09 +0000
committerbors <bors@rust-lang.org>2022-11-30 11:13:09 +0000
commit24606deaf48e56f604a6125fa11fb9f70cf4f1f4 (patch)
treec23e72e2e83aa3707dbc86dfeeb4db10a0e032f8 /compiler/rustc_query_impl/src
parenta569a88f5500e8780c7cc65fa53fc8b098517674 (diff)
parent1e236acd05c045b186195aa0a0b44657ac039978 (diff)
downloadrust-24606deaf48e56f604a6125fa11fb9f70cf4f1f4.tar.gz
rust-24606deaf48e56f604a6125fa11fb9f70cf4f1f4.zip
Auto merge of #104905 - compiler-errors:normalization-changes, 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 #104835 for convenience.

r? types
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions