summaryrefslogtreecommitdiffstats
path: root/tests/ui/auxiliary/fancy-panic.rs
blob: 35be93b0590326121fad5b9b18aa71d5c8b157f2 (plain)
1
2
3
4
5
6
7
8
9
#[macro_export]
macro_rules! fancy_panic {
    () => {
        panic!("{}");
    };
    ($msg:expr) => {
        panic!($msg)
    };
}