Skip to content

Commit

Permalink
fix(base): parameterless ice! macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
bostelk committed Nov 8, 2017
1 parent ccc1924 commit e5346df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#[macro_export]
macro_rules! ice {
() => ({
ice!("ICE: Please report an issue at https://github.com/gluon-lang/gluon/issues")
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"))
Expand Down

0 comments on commit e5346df

Please sign in to comment.