fparkan/vendor/quote/tests/ui/does-not-have-iter-interpolated-dup.rs

10 lines
209 B
Rust
Raw Normal View History

use quote::quote;
fn main() {
let nonrep = "";
// Without some protection against repetitions with no iterator somewhere
// inside, this would loop infinitely.
quote!(#(#nonrep #nonrep)*);
}