pub fn extract(attrs: &[impl AttributeExt]) -> Option<(Symbol, Span)>
Expand description
Extracts the first lang = "$name"
out of a list of attributes.
The #[panic_handler]
attribute is also extracted out when found.
pub fn extract(attrs: &[impl AttributeExt]) -> Option<(Symbol, Span)>
Extracts the first lang = "$name"
out of a list of attributes.
The #[panic_handler]
attribute is also extracted out when found.