[−][src]Function rustc::traits::query::type_op::custom::scrape_region_constraints
fn scrape_region_constraints<'gcx, 'tcx, R>(
infcx: &InferCtxt<'_, 'gcx, 'tcx>,
op: impl FnOnce() -> Fallible<InferOk<'tcx, R>>
) -> Fallible<(R, Option<Rc<Vec<QueryRegionConstraint<'tcx>>>>)>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Executes op
and then scrapes out all the "old style" region
constraints that result, creating query-region-constraints.