make Rust panic code example
Example: How to make Rust panic ?
/*
In order to make a program written in Rust panic, you may compile and run it while it contains this instruction:
*/
([0])[([1])[0]];
/*
Running it with RUST_BACKTRACE=1 let you see how it panics.
*/