rust-clippy/tests/ui/crashes/procedural_macro.rs
Philipp Hansch a586f52a0f
Move run-pass tests to UI tests
This should give us more UI coverage for free.
It also removes the `run-pass` suite, so we now only have the `ui` suite.
2019-02-06 08:17:39 +01:00

11 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;