summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/procedural_macro.rs
blob: f79d9ab6460b893bf7911c2f79cabc038c58cdc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass

#[macro_use]
extern crate clippy_mini_macro_test;

#[deny(warnings)]
fn main() {
    let x = Foo;
    println!("{:?}", x);
}

#[derive(ClippyMiniMacroTest, Debug)]
struct Foo;