about summary refs log tree commit diff
path: root/src/test/ui/const-generics/raw-ptr-const-param-deref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/raw-ptr-const-param-deref.rs')
-rw-r--r--src/test/ui/const-generics/raw-ptr-const-param-deref.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-generics/raw-ptr-const-param-deref.rs b/src/test/ui/const-generics/raw-ptr-const-param-deref.rs
index ca7d33c0eb9..302dd47e9b7 100644
--- a/src/test/ui/const-generics/raw-ptr-const-param-deref.rs
+++ b/src/test/ui/const-generics/raw-ptr-const-param-deref.rs
@@ -1,7 +1,7 @@
 // Checks that pointers must not be used as the type of const params.
 // revisions: full min
 
-#![cfg_attr(full, feature(const_generics))]
+#![cfg_attr(full, feature(const_param_types))]
 #![cfg_attr(full, allow(incomplete_features))]
 
 const A: u32 = 3;