Home
last modified time | relevance | path

Searched refs:from_iter (Results 1 - 25 of 31) sorted by relevance

12

/third_party/rust/crates/syn/tests/
H A Dtest_ty.rs24 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type()
57 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_type()
96 let tokens = TokenStream::from_iter(vec![ in test_group_angle_brackets()
147 let tokens = TokenStream::from_iter(vec![ in test_group_colons()
183 let tokens = TokenStream::from_iter(vec![ in test_group_colons()
H A Dtest_visibility.rs105 let tokens = TokenStream::from_iter(vec![ in test_empty_group_vis()
110 TokenStream::from_iter(vec![ in test_empty_group_vis()
114 TokenStream::from_iter(vec![TokenTree::Ident(Ident::new( in test_empty_group_vis()
H A Dtest_parse_buffer.rs72 let tokens = TokenStream::from_iter(vec![ in trailing_empty_none_group()
76 TokenStream::from_iter(vec![ in trailing_empty_none_group()
84 TokenStream::from_iter(vec![TokenTree::Group(Group::new( in trailing_empty_none_group()
H A Dtest_grouping.rs11 let tokens: TokenStream = TokenStream::from_iter(vec![ in test_grouping()
16 TokenStream::from_iter(vec![ in test_grouping()
H A Dtest_item.rs13 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_attr()
124 let tokens = TokenStream::from_iter(vec![ in test_macro_variable_impl()
H A Dtest_stmt.rs61 let tokens = TokenStream::from_iter(vec![TokenTree::Group(Group::new( in test_none_group()
63 TokenStream::from_iter(vec![ in test_none_group()
H A Dtest_lit.rs255 let tokens = TokenStream::from_iter(vec![TokenTree::Group(Group::new( in test_deep_group_empty()
257 TokenStream::from_iter(vec![TokenTree::Group(Group::new( in test_deep_group_empty()
259 TokenStream::from_iter(vec![TokenTree::Literal(Literal::string("hi"))]), in test_deep_group_empty()
H A Dtest_path.rs13 let tokens = TokenStream::from_iter(vec![ in parse_interpolated_leading_component()
H A Dtest_pat.rs51 let tokens = TokenStream::from_iter(vec![TokenTree::Group(group)]); in test_group()
/third_party/rust/crates/proc-macro2/tests/
H A Dtest_fmt.rs9 let inner = TokenStream::from_iter(iter::once(TokenTree::Ident(ident))); in test_fmt_group()
/third_party/rust/crates/syn/src/
H A Derror.rs283 TokenStream::from_iter(vec![ in to_compile_error()
313 TokenStream::from_iter(vec![TokenTree::Literal({ in to_compile_error()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dnamespace.rs109 fn from_iter<I>(idents: I) -> Self in from_iter() functions
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dnamespace.rs109 fn from_iter<I>(idents: I) -> Self in from_iter() functions
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dnamespace.rs109 fn from_iter<I>(idents: I) -> Self in from_iter() functions
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dnamespace.rs109 fn from_iter<I>(idents: I) -> Self in from_iter() functions
/third_party/rust/crates/cxx/syntax/
H A Dnamespace.rs109 fn from_iter<I>(idents: I) -> Self in from_iter() functions
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_annotations.rs2924 data: Enum::Newtype(HashMap::from_iter([("key".into(), "value".into())])), in newtype()
2925 extra: HashMap::from_iter([("extra_key".into(), "extra value".into())]), in newtype()
2949 extra: HashMap::from_iter([("extra_key".into(), "extra value".into())]), in tuple()
2976 extra: HashMap::from_iter([("extra_key".into(), "extra value".into())]), in struct_from_seq()
3003 extra: HashMap::from_iter([("extra_key".into(), "extra value".into())]), in struct_from_map()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dnested.rs78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
/third_party/rust/crates/cxx/gen/src/
H A Dnested.rs78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dnested.rs78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dnested.rs78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
/third_party/rust/crates/clap/clap_derive/src/
H A Dattr.rs130 Some(AttrValue::Call(Vec::from_iter(method_args))) in parse()
/third_party/rust/crates/proc-macro2/src/
H A Dlib.rs287 fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self { in from_iter() functions
292 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter() functions
H A Dfallback.rs253 fn from_iter<I: IntoIterator<Item = TokenTree>>(tokens: I) -> Self { in from_iter() functions
261 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter() functions
/third_party/rust/crates/nix/src/sys/
H A Dsignal.rs605 fn from_iter<T>(iter: T) -> Self in from_iter() functions
1265 let sigset = SigSet::from_iter(vec![Signal::SIGUSR1, Signal::SIGUSR2]); in test_from_and_into_iterator()

Completed in 13 milliseconds

12