Function rustc_lint::foreign_modules::get_relevant_span
source ยท fn get_relevant_span(tcx: TyCtxt<'_>, fi: OwnerId) -> Span
Expand description
We want to ensure that we use spans for both decls that include where the name was defined, whether that was from the link_name attribute or not.