2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-11-24 07:34:13 -06:00
|
|
|
// force-host
|
|
|
|
// no-prefer-dynamic
|
2018-07-12 16:04:24 -05:00
|
|
|
|
|
|
|
#![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
|
|
|
|
}
|