about summary refs log tree commit diff
path: root/src/test/ui/consts/control-flow/assert.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-17 15:12:56 +0000
committerbors <bors@rust-lang.org>2021-06-17 15:12:56 +0000
commit4d3ce2e7dac840d6ac7d658a5506eb31492fb3ef (patch)
tree17de2651847a85eaf15d0ced7e0788782c49df3e /src/test/ui/consts/control-flow/assert.rs
parent0ef2b4a29bf70e8984d0d2febb7a546856c554a0 (diff)
parent65d412b63717617326e65e602284b7ead2b0f899 (diff)
Auto merge of #86399 - JohnTitor:rollup-qlm2dvz, r=JohnTitor
Rollup of 7 pull requests

Successful merges:

 - #85663 (Document Arc::from)
 - #85802 (Rename IoSlice(Mut)::advance to advance_slice and add IoSlice(Mut)::advance)
 - #85970 (Remove methods under Implementors on trait pages)
 - #86340 (Use better error message for hard errors in CTFE)
 - #86343 (Do not emit invalid suggestions on multiple mutable borrow errors)
 - #86355 (Remove invalid suggestions for assoc consts on placeholder type error)
 - #86389 (Make `sum()` and `product()` documentation hyperlinks refer to `Iterator` methods.)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
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() {}