Skip to content

Commit 3d77e2e

Browse files
bors[bot]korken89
andauthored
Merge #229
229: Fixed changed compile-fail messages r=jonas-schievink a=korken89 Fixed the errors now present in `compile-fail` tests. Co-authored-by: Emil Fresk <[email protected]>
2 parents e6f46cf + 56e8ada commit 3d77e2e

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

+1-1
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

+1-1
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)