rust/tests/ui/proc-macro/auxiliary/issue-75801.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
158 B
Rust
Raw Normal View History

2021-03-30 08:02:23 +00:00
extern crate proc_macro;
use proc_macro::TokenStream;
#[proc_macro_attribute]
pub fn foo(_args: TokenStream, item: TokenStream) -> TokenStream {
item
}