2017-03-12 23:30:18 +01:00
|
|
|
#![feature(plugin)]
|
|
|
|
#![plugin(clippy)]
|
|
|
|
#![crate_type = "proc-macro"]
|
2017-05-17 14:19:44 +02:00
|
|
|
#![warn(needless_pass_by_value)]
|
2017-03-12 23:30:18 +01:00
|
|
|
|
|
|
|
extern crate proc_macro;
|
|
|
|
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
|
|
|
|
#[proc_macro_derive(Foo)]
|
|
|
|
pub fn foo(_input: TokenStream) -> TokenStream { unimplemented!() }
|