mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 15:39:20 +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()
|
|
}
|