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

Commit bd09bfb

Browse files
committed
Fixed changed compile-fail messages
1 parent 6fb04f4 commit bd09bfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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
}

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)