diff --git a/src/main.rs b/src/main.rs index 336493526de091caa99bce2e1f73e49621417a0d..c4a24cba69676580c75139e68377a5e0a60952cb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,27 +65,15 @@ const APP: () = { // What is the output? // // [Your answer here] -// Compiling app v0.1.0 (/home/niklas/Desktop/D7020E/rtic_f4xx_nucleo) -// error: unreachable expression -// --> src/main.rs:25:9 -// | -// 24 | panic!("panic"); -// | ---------------- any code following this expression is unreachable -// 25 | / loop { -// 26 | | continue; -// 27 | | } -// | |_________^ unreachable expression -// | -// note: the lint level is defined here -// --> src/main.rs:4:9 -// | -// 4 | #![deny(warnings)] -// | ^^^^^^^^ -// = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` -// -// error: aborting due to previous error -// -// error: could not compile `app` +// Compiling app v0.1.0 (/home/niklas/Desktop/D7020E/rtic_f4xx_nucleo) +// Finished dev [unoptimized + debuginfo] target(s) in 0.33s +// Running `probe-run --chip STM32F411RETx target/thumbv7em-none-eabi/debug/app` +// (HOST) INFO flashing program (17.96 KiB) +// (HOST) INFO success! +// ──────────────────────────────────────────────────────────────────────────────── +// init +// idle +// panicked at 'panic', src/main.rs:24:9 // // To learn more, run the command again with --verbose. //