blob: 41d3a184640acaf373df5ee5e72b765f034c471f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// force-host
// no-prefer-dynamic
#![crate_type = "proc-macro"]
extern crate proc_macro;
use proc_macro::*;
#[proc_macro_derive(GenHelperUse)]
pub fn derive_a(_: TokenStream) -> TokenStream {
"
#[empty_helper]
struct Uwu;
".parse().unwrap()
}
|