rust/tests/ui/lint/auxiliary/warn-macro.rs

8 lines
117 B
Rust
Raw Normal View History

#[macro_export]
macro_rules! emit_warn {
() => {
#[warn(unsafe_code)]
let _so_safe = 0;
};
}