mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 15:06:20 +00:00
12 lines
258 B
Rust
12 lines
258 B
Rust
extern crate proc_macro;
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
#[proc_macro]
|
|
pub fn dummy(input: TokenStream) -> TokenStream {
|
|
// Iterate to force internal conversion of nonterminals
|
|
// to `proc_macro` structs
|
|
for _ in input {}
|
|
TokenStream::new()
|
|
}
|