aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2022-09-28 20:37:42 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2022-09-28 20:42:16 +0200
commitb711c036ab44da6325f773eafa0538ebab7218dc (patch)
treec3a8f33b6d3bf2052addcce6f0670b6568e402dd
parentb87fca3d21d92018ac4d50b200cf8e77cb577028 (diff)
downloadrtic-b711c036ab44da6325f773eafa0538ebab7218dc.tar.gz
rtic-b711c036ab44da6325f773eafa0538ebab7218dc.tar.zst
rtic-b711c036ab44da6325f773eafa0538ebab7218dc.zip
Fix new lint in the compiler
-rw-r--r--examples/ramfunc.rs1
-rw-r--r--ui/task-priority-too-high.stderr2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/ramfunc.rs b/examples/ramfunc.rs
index 54acd7e8..b3b8012c 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 8b905c40..a7a15ebf 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)