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