1
2
3
4
5
6
7
8
9
10
11
12
#[macro_export]
macro_rules! ice {
    () => ({
        panic!("ICE: Please report an issue at https://github.com/gluon-lang/gluon/issues")
    });
    ($msg:expr) => ({
        panic!(concat!($msg, ". Please report an issue at https://github.com/gluon-lang/gluon/issues"))
    });
    ($fmt:expr, $($arg:tt)+) => ({
        panic!(concat!($fmt, ". Please report an issue at https://github.com/gluon-lang/gluon/issues"), $($arg)+)
    });
}