diff options
Diffstat (limited to 'cortex-m-rt/tests')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/exception-soundness.rs | 2 | ||||
-rw-r--r-- | cortex-m-rt/tests/compile-fail/interrupt-soundness.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compile-fail/exception-soundness.rs b/cortex-m-rt/tests/compile-fail/exception-soundness.rs index aae2476..9a1e10b 100644 --- a/cortex-m-rt/tests/compile-fail/exception-soundness.rs +++ b/cortex-m-rt/tests/compile-fail/exception-soundness.rs @@ -25,5 +25,5 @@ fn SysTick() { #[exception] fn SVCall() { // If this was allowed it would lead to a data race as `SVCall` could preempt `SysTick` - SysTick(); //~ ERROR cannot find function `SysTick` in this scope + SysTick(); //~ ERROR cannot find function, tuple struct or tuple variant `SysTick` in this scope [E0425] } diff --git a/cortex-m-rt/tests/compile-fail/interrupt-soundness.rs b/cortex-m-rt/tests/compile-fail/interrupt-soundness.rs index 74e5e79..faf737d 100644 --- a/cortex-m-rt/tests/compile-fail/interrupt-soundness.rs +++ b/cortex-m-rt/tests/compile-fail/interrupt-soundness.rs @@ -30,5 +30,5 @@ fn USART1() { #[interrupt] fn USART2() { - USART1(); //~ ERROR cannot find function `USART1` in this scope + USART1(); //~ ERROR cannot find function, tuple struct or tuple variant `USART1` in this scope [E0425] } |