[−][src]Function rustc_passes::diagnostic_items::extract
pub(in diagnostic_items) fn extract(
sess: &Session,
attrs: &[Attribute]
) -> Option<Symbol>
Extract the first rustc_diagnostic_item = "$name" out of a list of attributes.