2019-04-05 07:22:36 +02:00
|
|
|
// run-pass
|
|
|
|
|
2017-12-20 17:16:43 +01:00
|
|
|
#[macro_use]
|
|
|
|
extern crate clippy_mini_macro_test;
|
2016-06-25 18:12:29 +02:00
|
|
|
|
|
|
|
#[deny(warnings)]
|
|
|
|
fn main() {
|
2017-12-20 17:16:43 +01:00
|
|
|
let x = Foo;
|
|
|
|
println!("{:?}", x);
|
2016-06-25 18:12:29 +02:00
|
|
|
}
|
2017-12-20 17:16:43 +01:00
|
|
|
|
|
|
|
#[derive(ClippyMiniMacroTest, Debug)]
|
2018-12-09 23:26:16 +01:00
|
|
|
struct Foo;
|