aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/wrong-threshold.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-11-22 09:40:36 +0100
committerJorge Aparicio <jorge@japaric.io>2017-11-22 09:40:36 +0100
commite90cf07dd6785a34cbece152adc57dfcb3fbdd80 (patch)
tree736fe5cce710b150109a1579de602f5b6b1d467d /tests/cfail/wrong-threshold.rs
parent948e1fd0fbd96f574c31909843b2ed3debabf6fc (diff)
fix ci
Diffstat (limited to 'tests/cfail/wrong-threshold.rs')
-rw-r--r--tests/cfail/wrong-threshold.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/cfail/wrong-threshold.rs b/tests/cfail/wrong-threshold.rs
index b46f82d..b974071 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, _| {})
});