mirror of https://github.com/rust-lang/rust
13 lines
312 B
Rust
13 lines
312 B
Rust
//@ 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
|
|
}
|