From 9daf6b08ade88375df0067d9df409ba3d7cca18e Mon Sep 17 00:00:00 2001 From: MarcusGrass Date: Tue, 10 Sep 2024 15:56:30 +0200 Subject: [PATCH] Allow `expect` as attr --- cortex-m-rt/macros/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cortex-m-rt/macros/src/lib.rs b/cortex-m-rt/macros/src/lib.rs index 04774051..f8f0ca0f 100644 --- a/cortex-m-rt/macros/src/lib.rs +++ b/cortex-m-rt/macros/src/lib.rs @@ -744,6 +744,7 @@ fn check_attr_whitelist(attrs: &[Attribute], caller: WhiteListCaller) -> Result< "forbid", "cold", "naked", + "expect", ]; 'o: for attr in attrs {