]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/polymorphization/promoted-function-2.rs
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / polymorphization / promoted-function-2.rs
index 2831f861f556167dd2e0a782596305908875793b..d2d0f33681244a896768027c998c5939b517d64d 100644 (file)
@@ -1,8 +1,8 @@
 // build-fail
 // compile-flags:-Zpolymorphize=on
 #![crate_type = "lib"]
-#![feature(lazy_normalization_consts, rustc_attrs)]
-//~^ WARN the feature `lazy_normalization_consts` is incomplete
+#![feature(generic_const_exprs, rustc_attrs)]
+//~^ WARN the feature `generic_const_exprs` is incomplete
 
 #[rustc_polymorphize_error]
 fn test<T>() {