mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 19:17:31 +00:00
9 lines
164 B
Rust
9 lines
164 B
Rust
extern crate proc_macro;
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
#[proc_macro_derive(Nothing)]
|
|
pub fn nothing(input: TokenStream) -> TokenStream {
|
|
"".parse().unwrap()
|
|
}
|