)),
};
if let Some(span) = tcx.hir().span_if_local(original_def_id) {
- err.span_note(span, "first defined here");
+ err.span_note(span, "the diagnostic item is first defined here");
} else {
err.note(&format!(
- "first defined in crate `{}`.",
+ "the diagnostic item is first defined in crate `{}`.",
tcx.crate_name(original_def_id.krate)
));
}