]> git.lizzy.rs Git - rust.git/blob - tests/pretty/auxiliary/derive-foo.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / pretty / auxiliary / derive-foo.rs
1 // force-host
2 // no-prefer-dynamic
3
4 #![crate_type = "proc-macro"]
5
6 extern crate proc_macro;
7
8 use proc_macro::TokenStream;
9
10 #[proc_macro_derive(Foo, attributes(Bar))]
11 pub fn derive(input: TokenStream) -> TokenStream {
12     "".parse().unwrap()
13 }