Searched refs:path_is_ident (Results 1 – 2 of 2) sorted by relevance
112 .any(|attr| attr.path_is_ident("proc_macro_hack")) in detect_proc_macro_hack()117 attr.path_is_ident("proc_macro") in is_proc_macro()118 || attr.path_is_ident("proc_macro_derive") in is_proc_macro()119 || attr.path_is_ident("proc_macro_attribute") in is_proc_macro()
79 pub(crate) fn path_is_ident(&self, ident: &str) -> bool { in path_is_ident() method