diff --git a/tests/cfail/wrong-threshold.rs b/tests/cfail/wrong-threshold.rs
index c9459af78055c5d3884e311ddba077345a336127..b46f82def9e6e879f4b3c5d4b667b078b6abb9d4 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) {}