blob: c4e906fb5edeca0005c9ae0b57c2c9e04b2d69c7 [file] [log] [blame]
//@ proc-macro: first-second.rs
extern crate first_second;
use first_second::*;
macro_rules! produce_it {
($name:ident) => {
#[first]
struct $name {
field: MissingType //~ ERROR cannot find type
}
}
}
produce_it!(MyName);
fn main() {
println!("Hello, world!");
}