rust-clippy/tests/ui/proc_macro.rs
2019-02-24 18:23:54 +01:00

8 lines
134 B
Rust
Executable file

//! Check that we correctly lint procedural macros.
#![crate_type = "proc-macro"]
#[allow(dead_code)]
fn f() {
let _x = 3.14;
}