Function syntax::attr::find_export_name_attr [] [src]

pub fn find_export_name_attr(diag: &Handler,
                             attrs: &[Attribute])
                             -> Option<Symbol>
🔬 This is a nightly-only experimental API. (rustc_private)

Find the value of #[export_name=*] attribute and check its validity.