mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
13 lines
190 B
Rust
13 lines
190 B
Rust
//@aux-build:proc_macros.rs
|
|
|
|
#![warn(clippy::deref_addrof)]
|
|
|
|
extern crate proc_macros;
|
|
|
|
#[proc_macros::inline_macros]
|
|
fn f() -> i32 {
|
|
// should be fine
|
|
*inline!(&$1)
|
|
}
|
|
|
|
fn main() {}
|