Skip to content

Commit 56e8ada

Browse files
committed
Fixed changed compile-fail messages
1 parent e6f46cf commit 56e8ada

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cortex-m-rt/tests/compile-fail/exception-soundness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ fn SysTick() {
2525
#[exception]
2626
fn SVCall() {
2727
// If this was allowed it would lead to a data race as `SVCall` could preempt `SysTick`
28-
SysTick(); //~ ERROR cannot find function `SysTick` in this scope
28+
SysTick(); //~ ERROR cannot find function, tuple struct or tuple variant `SysTick` in this scope [E0425]
2929
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ fn USART1() {
3030

3131
#[interrupt]
3232
fn USART2() {
33-
USART1(); //~ ERROR cannot find function `USART1` in this scope
33+
USART1(); //~ ERROR cannot find function, tuple struct or tuple variant `USART1` in this scope [E0425]
3434
}

0 commit comments

Comments
 (0)