Searched refs:is_ident (Results 1 – 3 of 3) sorted by relevance
238 cfgs.retain(|attr| attr.path().is_ident("cfg"));437 if a.path().is_ident("default_error") {
65 pub fn is_ident<I>(&self, ident: &I) -> bool in is_ident() method
3455 Type::Path(ty) => ty.qself.is_none() && ty.path.is_ident("Self"), in to_tokens()3459 (None, _, Type::Path(ty)) => ty.qself.is_none() && ty.path.is_ident("Self"), in to_tokens()