unexpected_hidden_region_diagnostic in rustc_trait_selection::error_reporting::infer::region - Rust
Description: API documentation for the Rust `unexpected_hidden_region_diagnostic` fn in crate `rustc_trait_selection`.

Skip to main content

## unexpected_hidden_region_diagnostic

# Function unexpected_hidden_region_diagnostic

Source

    pub fn unexpected_hidden_region_diagnostic<'a, 'tcx>(
        infcx: &'a InferCtxt<'tcx>,
        generic_param_scope: LocalDefId,
        span: Span,
        hidden_ty: Ty<'tcx>,
        hidden_region: Region<'tcx>,
        opaque_ty_key: OpaqueTypeKey<'tcx>,
    ) -> Diag<'a>