rust/compiler/rustc_infer/src
bors b8f9cb345a Auto merge of #106696 - kylematsuda:early-binder, r=lcnr
Switch to `EarlyBinder` for `const_param_default` and `impl_trait_ref` queries

Part of the work to close #105779 and implement https://github.com/rust-lang/types-team/issues/78.

Several queries `X` have a `bound_X` variant that wraps the output in `EarlyBinder`. This PR adds `EarlyBinder` to the return type of  `const_param_default` and `impl_trait_ref`, and removes their `bound_X` variants.

r? `@lcnr`
2023-01-14 17:44:30 +00:00
..
errors Rollup merge of #101936 - IntQuant:issue-100717-infer-4, r=compiler-errors 2023-01-07 20:43:18 +01:00
infer change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata 2023-01-14 00:29:56 -07:00
traits Keep obligation chain when elaborating obligations 2023-01-13 18:20:23 +00:00
lib.rs Remove #![allow(rustc::potential_query_instability)] from rustc_infer 2022-10-28 15:32:49 +02:00