aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cfail/interrupt.rs1
-rw-r--r--tests/cfail/wrong-threshold.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/cfail/interrupt.rs b/tests/cfail/interrupt.rs
index f7879f49..66d2098b 100644
--- a/tests/cfail/interrupt.rs
+++ b/tests/cfail/interrupt.rs
@@ -9,7 +9,6 @@ use rtfm::app;
app! {
//~^ error no associated item named `EXTI33` found for type
- //~| error no associated item named `EXTI33` found for type
device: stm32f103xx,
tasks: {
diff --git a/tests/cfail/wrong-threshold.rs b/tests/cfail/wrong-threshold.rs
index b46f82de..b9740715 100644
--- a/tests/cfail/wrong-threshold.rs
+++ b/tests/cfail/wrong-threshold.rs
@@ -39,7 +39,6 @@ fn idle() -> ! {
fn exti0(mut ot: &mut Threshold, r: EXTI0::Resources) {
r.A.claim(&mut ot, |_a, mut _it| {
//~^ error cannot borrow `ot` as mutable more than once at a time
- //~| error cannot borrow `ot` as mutable more than once at a time
// ERROR must use inner token `it` instead of the outer one (`ot`)
r.B.claim(&mut ot, |_b, _| {})
});