diff options
author | 2019-12-28 15:52:55 +0100 | |
---|---|---|
committer | 2019-12-28 15:52:55 +0100 | |
commit | 56e8ada18abddf06475fa8bf21add1b43cd14da8 (patch) | |
tree | 20f84b6ce1f67372a327d54d037d9b193a9ea2da | |
parent | e6f46cf05446b6da1d072c34af833175ac9b93ed (diff) | |
download | cortex-m-56e8ada18abddf06475fa8bf21add1b43cd14da8.tar.gz cortex-m-56e8ada18abddf06475fa8bf21add1b43cd14da8.tar.zst cortex-m-56e8ada18abddf06475fa8bf21add1b43cd14da8.zip |
Fixed changed compile-fail messages
-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] } |