aboutsummaryrefslogtreecommitdiff
path: root/quote/tests/ui/not-quotable.rs
blob: f991c1883d6d34de4b28c95ffce6f63ab44d53a2 (plain)
1
2
3
4
5
6
7
use quote::quote;
use std::net::Ipv4Addr;

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