pub fn is_proc_macro(sess: &Session, attrs: &[Attribute]) -> bool
Expand description

Return true if the attributes contain any of proc_macro, proc_macro_derive or proc_macro_attribute, false otherwise