rustc_hir_analysis::collect

Function check_impl_constness

Source
fn check_impl_constness(
    tcx: TyCtxt<'_>,
    is_const: bool,
    hir_trait_ref: &TraitRef<'_>,
) -> Option<ErrorGuaranteed>