placeholder_type_error_diag in rustc_hir_analysis::collect - Rust
Description: API documentation for the Rust `placeholder_type_error_diag` fn in crate `rustc_hir_analysis`.

Skip to main content

## placeholder_type_error_diag

# Function placeholder_type_error_diag

Source

    fn placeholder_type_error_diag<'cx, 'tcx>(
        cx: &'cx dyn HirTyLowerer<'tcx>,
        generics: Option<&Generics<'_>>,
        placeholder_types: Vec<Span>,
        additional_spans: Vec<Span>,
        suggest: bool,
        hir_ty: Option<&Ty<'_>>,
        kind: &'static str,
    ) -> Diag<'cx>