about summary refs log tree commit diff
path: root/src/test/ui/const-generics/fn-const-param-call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/fn-const-param-call.rs')
-rw-r--r--src/test/ui/const-generics/fn-const-param-call.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-generics/fn-const-param-call.rs b/src/test/ui/const-generics/fn-const-param-call.rs
index 70a104e2222..5cd18f6d359 100644
--- a/src/test/ui/const-generics/fn-const-param-call.rs
+++ b/src/test/ui/const-generics/fn-const-param-call.rs
@@ -1,7 +1,7 @@
 // Check that functions cannot be used as const parameters.
 // revisions: full min
 
-#![cfg_attr(full, feature(const_generics))]
+#![cfg_attr(full, feature(const_param_types))]
 #![cfg_attr(full, allow(incomplete_features))]
 
 fn function() -> u32 {