From 7b534b38e5aeb67f5fc0fa60f1ec1dd3956dc2bd Mon Sep 17 00:00:00 2001 From: Sympatron GmbH <35803463+Sympatron@users.noreply.github.com> Date: Sun, 29 Sep 2024 06:15:12 +0200 Subject: [PATCH] Replace proc-macro-error with proc-macro-error2 (#979) --- rtic-macros/CHANGELOG.md | 2 ++ rtic-macros/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rtic-macros/CHANGELOG.md b/rtic-macros/CHANGELOG.md index 557260d7cf..5a69d42817 100644 --- a/rtic-macros/CHANGELOG.md +++ b/rtic-macros/CHANGELOG.md @@ -7,6 +7,8 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top! ## [Unreleased] +- Replace `proc-macro-error` with `proc-macro-error2` + ### Changed - Fix codegen emitting unqualified `Result` diff --git a/rtic-macros/Cargo.toml b/rtic-macros/Cargo.toml index 443ed0d072..eee23c6a1c 100644 --- a/rtic-macros/Cargo.toml +++ b/rtic-macros/Cargo.toml @@ -37,14 +37,14 @@ riscv-esp32c3 = [] # riscv-clic = [] # riscv-ch32 = [] riscv-slic = [] - + # backend API test test-template = [] [dependencies] indexmap = "2.0.0" proc-macro2 = "1.0.49" -proc-macro-error = "1.0.4" +proc-macro-error2 = "2.0" quote = "1.0.23" syn = { version = "2.0.48", features = ["extra-traits", "full"] }