Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 5ef4491

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 59a4441 + d71259b commit 5ef4491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)