]> git.lizzy.rs Git - rust.git/commit
Auto merge of #106235 - compiler-errors:rework-bounds-collection, r=davidtwco
authorbors <bors@rust-lang.org>
Sun, 8 Jan 2023 14:40:52 +0000 (14:40 +0000)
committerbors <bors@rust-lang.org>
Sun, 8 Jan 2023 14:40:52 +0000 (14:40 +0000)
commitfa51fc01ca3d654d08d627b1d1482d1b77e5ed8b
treed6231eea24ecb9e836f05fe326233273ea093bd2
parente6485ed22a617ab0d122cdd616cb62c31b920a57
parent520b5fac10eb9f7c096e0b6ca8e92b30eacba619
Auto merge of #106235 - compiler-errors:rework-bounds-collection, r=davidtwco

Rework `Bounds` collection

I think it's weird for the `Bounds` struct in astconv to store its predicates *almost* converted into real predicates... so we do this eagerly, instead of lazily.
compiler/rustc_hir_analysis/src/astconv/mod.rs
compiler/rustc_hir_analysis/src/collect/predicates_of.rs
compiler/rustc_privacy/src/lib.rs