From b711c036ab44da6325f773eafa0538ebab7218dc Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Wed, 28 Sep 2022 20:37:42 +0200 Subject: [PATCH] Fix new lint in the compiler --- examples/ramfunc.rs | 1 - ui/task-priority-too-high.stderr | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/ramfunc.rs b/examples/ramfunc.rs index 54acd7e84c..b3b8012c38 100644 --- a/examples/ramfunc.rs +++ b/examples/ramfunc.rs @@ -1,6 +1,5 @@ //! examples/ramfunc.rs -#![deny(unsafe_code)] #![deny(warnings)] #![no_main] #![no_std] diff --git a/ui/task-priority-too-high.stderr b/ui/task-priority-too-high.stderr index 8b905c4039..a7a15ebfe5 100644 --- a/ui/task-priority-too-high.stderr +++ b/ui/task-priority-too-high.stderr @@ -12,4 +12,4 @@ error[E0080]: evaluation of constant value failed 3 | #[rtic::app(device = lm3s6965)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'Maximum priority used by interrupt vector 'I2C0' is more than supported by hardware', $DIR/ui/task-priority-too-high.rs:3:1 | - = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `::core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)