9 lines
106 B
Rust
9 lines
106 B
Rust
use quote::quote;
|
|
|
|
struct Ipv4Addr;
|
|
|
|
fn main() {
|
|
let ip = Ipv4Addr;
|
|
let _ = quote! { #(#ip)* };
|
|
}
|