summaryrefslogtreecommitdiffstats
path: root/third_party/rust/quote/tests/ui/not-repeatable.rs
blob: c1debf5f806c00a6cd8a2a6b2fe036db74ea2923 (plain)
1
2
3
4
5
6
7
8
use quote::quote;

struct Ipv4Addr;

fn main() {
    let ip = Ipv4Addr;
    _ = quote! { #(#ip)* };
}