blob: 3311ded553117c8c1b8c4d5b1566af76739522eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// compile-pass
// force-host
// no-prefer-dynamic
#![crate_type = "proc-macro"]
#![deny(rust_2018_compatibility)]
#![feature(rust_2018_preview)]
extern crate proc_macro;
use proc_macro::TokenStream;
#[proc_macro_derive(Template, attributes(template))]
pub fn derive_template(input: TokenStream) -> TokenStream {
input
}
|