]> git.lizzy.rs Git - rust.git/commit
Auto merge of #107055 - kylematsuda:eb-fn-sig, r=lcnr
authorbors <bors@rust-lang.org>
Fri, 27 Jan 2023 15:02:44 +0000 (15:02 +0000)
committerbors <bors@rust-lang.org>
Fri, 27 Jan 2023 15:02:44 +0000 (15:02 +0000)
commit7ef46c8babb87382b4bff97a0536a32d70c4db32
treec610606d6fece8079b6515940cd43603c0b5eca2
parent02d5f7fa4d693824d097f5f99f6a56f835f11d47
parent21575908c62f563fbc6d161c4fa44b2000a04e2f
Auto merge of #107055 - kylematsuda:eb-fn-sig, r=lcnr

Switch to `EarlyBinder` for `fn_sig` query

Part of the work to finish #105779 (also see https://github.com/rust-lang/types-team/issues/78).

Several queries `X` have a `bound_X` variant that wraps the output in [`EarlyBinder`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/subst/struct.EarlyBinder.html). This adds `EarlyBinder` to the return type of the `fn_sig` query and removes `bound_fn_sig`.

r? `@lcnr`
src/main_shim.rs