Files
rust/tests/ui/attributes/auxiliary/derive_macro_with_helper.rs

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

9 lines
174 B
Rust
Raw Normal View History

extern crate proc_macro;
use proc_macro::TokenStream;
#[proc_macro_derive(Derive, attributes(arg))]
pub fn derive(_: TokenStream) -> TokenStream {
TokenStream::new()
}