avada_kedavra

Macro avada_kedavra 

Source
macro_rules! avada_kedavra {
    ($($arg:tt)*) => { ... };
}
Expand description

Alias for panic!.

ยงExample

avada_kedavra!("Lily Potter");
let lily_potter = "continue"; // This code will never execute, as the program is dead!