fparkan/vendor/quote/tests/ui/not-quotable.rs

8 lines
119 B
Rust
Raw Normal View History

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