]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/const-generics/fn-const-param-call.rs
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / const-generics / fn-const-param-call.rs
index 70a104e22227d44142e432eff03792e39979330d..dc516fb71c4b406a60348e76d47e3cdf6779d1e4 100644 (file)
@@ -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(adt_const_params))]
 #![cfg_attr(full, allow(incomplete_features))]
 
 fn function() -> u32 {