about summary refs log tree commit diff
path: root/src/test/ui/consts/control-flow/assert.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/control-flow/assert.rs')
-rw-r--r--src/test/ui/consts/control-flow/assert.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/control-flow/assert.rs b/src/test/ui/consts/control-flow/assert.rs
index 90017fee193..b311cb140cc 100644
--- a/src/test/ui/consts/control-flow/assert.rs
+++ b/src/test/ui/consts/control-flow/assert.rs
@@ -9,6 +9,6 @@ const _: () = assert!(true);
 
 const _: () = assert!(false);
 //[stock]~^ ERROR panicking in constants is unstable
-//[const_panic]~^^ ERROR any use of this value will cause an error
+//[const_panic]~^^ ERROR evaluation of constant value failed
 
 fn main() {}