Skip to main content

## user_args_applied_to_ty_of_hir_id

# Function user_args_applied_to_ty_of_hir_id

Source

    pub(crate) fn user_args_applied_to_ty_of_hir_id<'tcx>(
        tcx: TyCtxt<'tcx>,
        typeck_results: &TypeckResults<'tcx>,
        hir_id: HirId,
    ) -> Option<CanonicalUserType<'tcx>>

Expand description

Looks up the type associated with this hir-id and applies the user-given generic parameters; the hir-id must map to a suitable type.