pub(crate) fn undeclared_label( ctx: &DiagnosticsContext<'_, '_>, d: &UndeclaredLabel, ) -> Diagnostic