Home
last modified time | relevance | path

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

/external/rust/crates/futures-macro/src/
Dlib.rs16 use proc_macro_hack::proc_macro_hack;
22 #[proc_macro_hack]
28 #[proc_macro_hack]
34 #[proc_macro_hack]
40 #[proc_macro_hack]
/external/rust/crates/futures-util/src/async_await/
Djoin_mod.rs3 use proc_macro_hack::proc_macro_hack;
85 #[proc_macro_hack(support_nested, only_hack_old_rustc)]
89 #[proc_macro_hack(support_nested, only_hack_old_rustc)]
Dselect_mod.rs3 use proc_macro_hack::proc_macro_hack;
313 #[proc_macro_hack(support_nested, only_hack_old_rustc)]
317 #[proc_macro_hack(support_nested, only_hack_old_rustc)]
/external/rust/crates/proc-macro-hack/tests/ui/
Dunexpected.rs1 use proc_macro_hack::proc_macro_hack;
3 #[proc_macro_hack]
Dunknown-arg.rs1 use proc_macro_hack::proc_macro_hack;
3 #[proc_macro_hack(fake_call_site, support_nexted)]
Dprivate.rs1 use proc_macro_hack::proc_macro_hack;
3 #[proc_macro_hack]
Dunexpected-arg.rs1 use proc_macro_hack::proc_macro_hack;
3 #[proc_macro_hack(fake_call_site)]
Dunexpected-arg.stderr1 error: unexpected argument to proc_macro_hack macro implementation; args are only accepted on the m…
4 3 | #[proc_macro_hack(fake_call_site)]
Dunexpected.stderr1 error: unexpected input to #[proc_macro_hack]
Dunknown-arg.stderr4 3 | #[proc_macro_hack(fake_call_site, support_nexted)]
Dprivate.stderr1 error: functions tagged with `#[proc_macro_hack]` must be `pub`
/external/rust/crates/proc-macro-hack/
DREADME.md36 supported procedural macro, use proc-macro-hack's #\[proc_macro_hack\]
43 use proc_macro_hack::proc_macro_hack;
47 #[proc_macro_hack]
65 \#\[proc_macro_hack\] attribute.
68 use proc_macro_hack::proc_macro_hack;
73 #[proc_macro_hack]
126 macro input, use `#[proc_macro_hack(fake_call_site)]` on the re-export in your
133 use `#[proc_macro_hack(only_hack_old_rustc)]` on the re-export in your
DAndroid.bp43 crate_name: "proc_macro_hack",
/external/rust/crates/proc-macro-error/tests/ui/
Dproc_macro_hack.stderr2 --> $DIR/proc_macro_hack.rs:8:25
10 --> $DIR/proc_macro_hack.rs:8:41
18 --> $DIR/proc_macro_hack.rs:8:32
Dunknown_setting.stderr1 …known setting `trololo`, expected one of `assert_unwind_safe`, `allow_not_macro`, `proc_macro_hack`
/external/rust/crates/proc-macro-error/src/
Dlib.rs427 pub fn entry_point<F>(f: F, proc_macro_hack: bool) -> proc_macro::TokenStream in entry_point()
438 if proc_macro_hack { in entry_point()
/external/rust/crates/proc-macro-hack/src/
Dlib.rs195 pub fn proc_macro_hack(args: TokenStream, input: TokenStream) -> TokenStream { in proc_macro_hack() function
372 #vis use proc_macro_hack::#export_call_site; in expand_export()
586 #[derive(proc_macro_hack::ProcMacroHack)] in wrap_in_enum_hack()