Home
last modified time | relevance | path

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

/third_party/rust/crates/syn/tests/
Dtest_derive_input.rs109 snapshot!(input.attrs[0].parse_meta().unwrap(), @r###" in test_struct()
329 .map(|attr| attr.parse_meta().unwrap()) in test_enum()
396 assert!(input.attrs[0].parse_meta().is_err()); in test_attr_with_path()
432 assert!(input.attrs[0].parse_meta().is_err()); in test_attr_with_non_mod_style_path()
472 snapshot!(input.attrs[0].parse_meta().unwrap(), @r###" in test_attr_with_mod_style_path_with_self()
Dtest_attribute.rs335 attr.parse_meta().unwrap() in test()
/third_party/rust/crates/clap/clap_derive/src/utils/
Ddoc_comments.rs21 if let Ok(NameValue(MetaNameValue { lit: Str(s), .. })) = attr.parse_meta() { in extract_doc_comment()
/third_party/rust/crates/syn/src/
Dattr.rs166 pub fn parse_meta(&self) -> Result<Meta> { in parse_meta() method
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs1572 match attr.parse_meta() { in get_serde_meta_items()