Function rustc_hir::weak_lang_items::link_name [−][src]
pub fn link_name<'a, F>(check_name: F, attrs: &'a [Attribute]) -> Option<Symbol> where
F: Fn(&'a Attribute, Symbol) -> bool,
Expand description
The check_name
argument avoids the need for rustc_hir
to depend on
rustc_session
.