2017-09-18 05:47:33 -05:00
|
|
|
|
|
|
|
|
2017-03-12 17:30:18 -05:00
|
|
|
#![crate_type = "proc-macro"]
|
2017-05-17 07:19:44 -05:00
|
|
|
#![warn(needless_pass_by_value)]
|
2017-03-12 17:30:18 -05:00
|
|
|
|
|
|
|
extern crate proc_macro;
|
|
|
|
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
|
|
|
|
#[proc_macro_derive(Foo)]
|
|
|
|
pub fn foo(_input: TokenStream) -> TokenStream { unimplemented!() }
|