aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cfail/wrong-threshold.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cfail/wrong-threshold.rs b/tests/cfail/wrong-threshold.rs
index c9459af7..b46f82de 100644
--- a/tests/cfail/wrong-threshold.rs
+++ b/tests/cfail/wrong-threshold.rs
@@ -1,5 +1,4 @@
#![deny(warnings)]
-#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
@@ -46,4 +45,4 @@ fn exti0(mut ot: &mut Threshold, r: EXTI0::Resources) {
});
}
-fn exti1(_t: &mut Threshold, r: EXTI1::Resources) {}
+fn exti1(_t: &mut Threshold, _r: EXTI1::Resources) {}