mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
9 lines
134 B
Rust
Executable File
9 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;
|
|
}
|