From 5c47aba1a11139742f8289ca4c47e045822ee219 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Tue, 24 May 2022 19:38:24 +0200 Subject: [PATCH] Fix macros to Rust 2021 --- macros/Cargo.toml | 4 ++-- ui/task-priority-too-high.stderr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macros/Cargo.toml b/macros/Cargo.toml index f9d8add79c..2534f8abe3 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -6,13 +6,13 @@ authors = [ categories = ["concurrency", "embedded", "no-std"] description = "Procedural macros of the cortex-m-rtic crate" documentation = "https://rtic-rs.github.io/cortex-m-rtic/api/cortex_m_rtic" -edition = "2018" +edition = "2021" keywords = ["arm", "cortex-m"] license = "MIT OR Apache-2.0" name = "cortex-m-rtic-macros" readme = "../README.md" repository = "https://github.com/rtic-rs/cortex-m-rtic" -version = "1.1.3" +version = "1.1.4" [lib] proc-macro = true diff --git a/ui/task-priority-too-high.stderr b/ui/task-priority-too-high.stderr index a5ce918a4c..8b905c4039 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_2015` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info)