rust-clippy/tests/ui/auxiliary/doc_unsafe_macros.rs

17 lines
269 B
Rust
Raw Normal View History

2020-01-04 19:19:14 +00:00
#[macro_export]
macro_rules! undocd_unsafe {
() => {
pub unsafe fn oy_vey() {
unimplemented!();
}
};
}
2022-11-09 15:54:10 +00:00
#[macro_export]
macro_rules! undocd_safe {
() => {
pub fn vey_oy() {
unimplemented!();
}
};
}