Home
last modified time | relevance | path

Searched refs:is_ident (Results 1 – 5 of 5) sorted by relevance

/linux/rust/pin-init/internal/src/
H A Dinit.rs228 cfgs.retain(|attr| attr.path().is_ident("cfg"));
404 if a.path().is_ident("default_error") {
/linux/rust/zerocopy-derive/
H A Dutil.rs45 if meta_list.path.is_ident("zerocopy") { in try_from_derive_input()
47 if meta.path.is_ident("crate") { in try_from_derive_input()
62 if meta.path.is_ident("on_error") { in try_from_derive_input()
H A Drepr.rs527 if attr.path().is_ident("doc") { in from_attrs()
531 if meta_list.path.is_ident("repr") { in from_attrs()
/linux/rust/syn/
H A Dpath.rs65 pub fn is_ident<I>(&self, ident: &I) -> bool in is_ident() method
H A Ditem.rs3455 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()