mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
8 lines
134 B
Rust
Executable file
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;
|
|
}
|