rust/tests/ui/lint/auxiliary/trivial-cast-ice.rs
2023-01-11 09:32:08 +00:00

8 lines
137 B
Rust

#[macro_export]
macro_rules! foo {
() => {
let x: &Option<i32> = &Some(1);
let _y = x as *const Option<i32>;
}
}