]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 17 Jan 2023 19:21:28 +0000 (20:21 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Jan 2023 19:21:28 +0000 (20:21 +0100)
commit3d7677d91ad9ef0602af227b41831fa2c46e0547
tree9324ad1e4091b9fd2324632f2dae9a23918eaa96
parent28081833c61459a510c4303914ae713035e183fb
parentf193effcaf421da090a463a49968b7bac849db2f
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr

Switch to `EarlyBinder` for `item_bounds` 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`. This adds `EarlyBinder` to the return type of the `item_bounds` query and removes `bound_item_bounds`.

r? `@lcnr`
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
compiler/rustc_trait_selection/src/traits/project.rs
compiler/rustc_trait_selection/src/traits/select/confirmation.rs
compiler/rustc_trait_selection/src/traits/select/mod.rs