Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cortex-m-rt/tests/compile-fail/exception-v8only.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ fn foo() -> ! {

#[exception]
fn SecureFault() {}
//~^ ERROR no variant or associated item named `SecureFault`
//~^ ERROR no variant, associated function, or constant named `SecureFault` found for enum `cortex_m_rt::Exception` in the current scope
2 changes: 1 addition & 1 deletion cortex-m-rt/tests/compile-fail/interrupt-invalid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 or associated item named `foo` found for enum `interrupt` in the current scope [E0599]
fn foo() {} //~ ERROR no variant, associated function, or constant named `foo` found for enum `interrupt` in the current scope [E0599]
Loading