Function rustc_middle::middle::stability::late_report_deprecation
source · fn late_report_deprecation(
tcx: TyCtxt<'_>,
message: String,
suggestion: Option<Symbol>,
lint: &'static Lint,
span: Span,
method_span: Option<Span>,
hir_id: HirId,
def_id: DefId
)