]> git.lizzy.rs Git - rust.git/blob - tests/run-pass/procedural_macro.rs
Adapt run-pass tests to the tool_lints
[rust.git] / tests / run-pass / procedural_macro.rs
1 #[macro_use]
2 extern crate clippy_mini_macro_test;
3
4 #[deny(warnings)]
5 fn main() {
6     let x = Foo;
7     println!("{:?}", x);
8 }
9
10
11 #[derive(ClippyMiniMacroTest, Debug)]
12 struct Foo;