rust/tests/ui/attributes/auxiliary/derive_macro_with_helper.rs
León Orell Valerian Liehr 8f472e8b5c
Add regression test for a former ICE involving helper attributes containing interpolated tokens
Co-authored-by: Jana Dönszelmann <jana@donsz.nl>
2025-08-14 03:39:32 +02:00

9 lines
174 B
Rust

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