mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
14 lines
266 B
Rust
14 lines
266 B
Rust
// FIXME(quote): `proc_macro::quote!` doesn't support repetition at the moment, so the stderr is
|
|
// expected to be incorrect.
|
|
//@ known-bug: #54722
|
|
|
|
#![feature(proc_macro_quote)]
|
|
|
|
extern crate proc_macro;
|
|
|
|
use proc_macro::quote;
|
|
|
|
fn main() {
|
|
quote!($(a b),*);
|
|
}
|