Skip to content

Commit 3222d51

Browse files
bors[bot]korken89
andauthored
Merge #258
258: New compile-fail string for interrupt-invalid r=therealprof a=korken89 There was a change in the error string Co-authored-by: Emil Fresk <[email protected]>
2 parents aa68192 + ed2df63 commit 3222d51

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)