Skip to content

Commit c8916fe

Browse files
Fix interrupt-invalid.rs on stable
1 parent fc2d2a5 commit c8916fe

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 named `foo` found for type `interrupt` in the current scope
22+
fn foo() {} //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope

0 commit comments

Comments
 (0)