rust/compiler/rustc_const_eval/src
bors 24606deaf4 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
2022-11-30 11:13:09 +00:00
..
const_eval interpret: get rid of run() function 2022-11-27 15:20:26 +01:00
interpret Rollup merge of #104982 - RalfJung:norun, r=oli-obk 2022-11-28 17:25:49 +01:00
transform Make ObligationCtxt::normalize take cause by borrow 2022-11-28 17:35:40 +00:00
util Make ObligationCtxt::normalize take cause by borrow 2022-11-28 17:35:40 +00:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
lib.rs Remove allow(rustc::potential_query_instability) in rustc_const_eval 2022-10-18 17:44:01 +02:00