Home
last modified time | relevance | path

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

/external/rust/crates/proc-macro-hack/src/
Dlib.rs398 let pub_name = pub_proc_macro_name(&name); in expand_export_nohack() localVariable
402 names.extend(quote!(#pub_name as #export_as)); in expand_export_nohack()
418 let pub_name = pub_proc_macro_name(&name); in expand_define() localVariable
423 mod #pub_name { in expand_define()
431 pub fn #hacked(input: #pub_name::TokenStream) -> #pub_name::TokenStream { in expand_define()
441 #pub_name::TokenTree::Group(group) => group.stream().into_iter(), in expand_define()
450 #pub_name::TokenTree::Group(group) => group.stream().into_iter(), in expand_define()
457 #pub_name::TokenTree::Group(group) => group.stream(), in expand_define()
461 let output: #pub_name::TokenStream = #name(inner.clone()); in expand_define()
463 fn count_bangs(input: #pub_name::TokenStream) -> usize { in expand_define()
[all …]