Skip to content

Commit ed2df63

Browse files
committed
New compile-fail string for interrupt-invalid
1 parent aa68192 commit ed2df63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m-rt/tests/compile-fail/interrupt-invalid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ enum interrupt {
1919
// NOTE this looks a bit better when using a device crate:
2020
// "no variant named `foo` found for type `stm32f30x::Interrupt` in the current scope"
2121
#[interrupt]
22-
fn foo() {} //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope
22+
fn foo() {} //~ ERROR no variant or associated item named `foo` found for enum `interrupt` in the current scope [E0599]

0 commit comments

Comments
 (0)