From ed2df63ff3b2ff3e69ec62c32e321f81bc7047fb Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 30 Mar 2020 10:06:55 +0200 Subject: New compile-fail string for interrupt-invalid --- cortex-m-rt/tests/compile-fail/interrupt-invalid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cortex-m-rt/tests/compile-fail/interrupt-invalid.rs') diff --git a/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs b/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs index e915518..f2ec718 100644 --- a/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs +++ b/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs @@ -19,4 +19,4 @@ enum interrupt { // NOTE this looks a bit better when using a device crate: // "no variant named `foo` found for type `stm32f30x::Interrupt` in the current scope" #[interrupt] -fn foo() {} //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope +fn foo() {} //~ ERROR no variant or associated item named `foo` found for enum `interrupt` in the current scope [E0599] -- cgit v1.2.3