rust/tests/ui/auxiliary/fancy-panic.rs
2023-01-11 09:32:08 +00:00

10 lines
135 B
Rust

#[macro_export]
macro_rules! fancy_panic {
() => {
panic!("{}");
};
($msg:expr) => {
panic!($msg)
};
}