rust/tests/run-pass/procedural_macro.rs
Manish Goregaokar 775372db90 Move mini-macro to proc macro
We can add a bang-style proc macro again once it stabilizes (we can use
the proc macro hack, but it's unnecessary for now)
2017-12-20 08:16:44 -08:00

12 lines
176 B
Rust

#[macro_use]
extern crate clippy_mini_macro_test;
#[deny(warnings)]
fn main() {
let x = Foo;
println!("{:?}", x);
}
#[derive(ClippyMiniMacroTest, Debug)]
struct Foo;