[−][src]Function rustc_typeck::check::op::suggest_impl_missing

pub(in check::op) fn suggest_impl_missing(
    err: &mut DiagnosticBuilder<'_>,
    ty: Ty<'_>,
    missing_trait: &str
)

If applicable, note that an implementation of trait for ty may fix the error.