blob: 5a94ccd746803333ed99a09d0cfc0a32e8b1ac10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// force-host
// no-prefer-dynamic
#![crate_type="proc-macro"]
#![crate_name="redundant_semi_proc_macro"]
extern crate proc_macro;
use proc_macro::TokenStream;
#[proc_macro_attribute]
pub fn should_preserve_spans(_attr: TokenStream, item: TokenStream) -> TokenStream {
eprintln!("{:?}", item);
item
}
|