blob: a106e4fde5cc362ce54139640576adbfd0502c90 (
plain)
1
2
3
4
5
6
7
8
9
|
#![crate_type = "proc-macro"]
extern crate proc_macro;
#[proc_macro_derive(A)]
pub fn derive(ts: proc_macro::TokenStream) -> proc_macro::TokenStream { ts }
#[derive(Debug)]
struct S;
|