Module rustc_infer::infer::opaque_types
source · Modules
- table 🔒
Structs
- Visitor that requires that (almost) all regions in the type visited outlive
least_region. We cannot usepush_outlives_componentsbecause regions in closure signatures are not included in their outlives components. We need to ensure all regions outlive the given bound so that we don’t end up with, say,ReVarappearing in a return type and causing ICEs when other functions end up with region constraints involving regions from other functions. - Information about the opaque types whose values we are inferring in this function (these are the
impl Traitthat appear in the return type).
Enums
Functions
- Returns
trueifopaque_hir_idis a sibling or a child of a sibling ofdef_id.