]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/panic-assoc-never-type.rs
Auto merge of #81132 - bugadani:map-prealloc, r=matthewjasper
[rust.git] / src / test / ui / consts / const-eval / panic-assoc-never-type.rs
index 21ee64fa6d937a83b74abe74913112ab1203c23a..f76440298b3ca8e72c02a657acbb51fb1bcb5a4f 100644 (file)
@@ -10,6 +10,7 @@
 impl PrintName {
     const VOID: ! = panic!();
     //~^ WARN any use of this value will cause an error
+    //~| WARN this was previously accepted by the compiler but is being phased out
 }
 
 fn main() {