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