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