]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const-eval/panic-never-type.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / panic-never-type.rs
index 71b489d828c081fd1c3c91285aa0be381d110d26..dd875768b168faa9ec9bad7c595a250670e32a87 100644 (file)
@@ -4,7 +4,7 @@
 #![feature(never_type)]
 
 const VOID: ! = panic!();
-//~^ ERROR any use of this value will cause an error
+//~^ ERROR evaluation of constant value failed
 
 fn main() {
     let _ = VOID;