From c8916fe8b724d087e30c745a568bd60f0342fb91 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 21 Nov 2019 18:22:04 +0100 Subject: Fix interrupt-invalid.rs on stable --- 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 9b1482a..4e568eb 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 named `foo` found for type `interrupt` in the current scope +fn foo() {} //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope -- cgit v1.2.3