]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/erroneous-const.rs
Auto merge of #81132 - bugadani:map-prealloc, r=matthewjasper
[rust.git] / src / test / ui / consts / const-eval / erroneous-const.rs
index 16bf1adf7db3e39d5f1afb9518d0182e39a0478b..b79ce4a523f9671ffe2b73fef8c6c4963bbde300 100644 (file)
@@ -5,6 +5,7 @@
 impl<T> PrintName<T> {
     const VOID: () = [()][2]; //~WARN any use of this value will cause an error
     //~^ WARN this operation will panic at runtime
+    //~| WARN this was previously accepted by the compiler but is being phased out
 }
 
 const fn no_codegen<T>() {