mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
8 lines
243 B
Rust
8 lines
243 B
Rust
extern crate proc_macro;
|
|
|
|
// Doesn't do anything, but has a helper attribute.
|
|
#[proc_macro_derive(WithHelperAttr, attributes(x))]
|
|
pub fn derive(_input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
|
proc_macro::TokenStream::new()
|
|
}
|