プログラムをエラーを生じさせるマクロ
fn main() {
let error_message = String::from("this is error message");
panic!("{}", error_message);
}
thread 'main' panicked at 'this is error message', src\main.rs:3:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\panic_test.exe` (exit code: 101)