Make an assert message consistent with other asserts.
This commit is contained in:
parent
552080a5b7
commit
94118d4d9a
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ pub fn eval_main<'tcx>(tcx: TyCtxt<'tcx>, main_id: DefId, config: MiriConfig) ->
|
|||
let res: InterpResult<'_, i64> = (|| {
|
||||
// Main loop.
|
||||
while ecx.schedule()? {
|
||||
assert!(ecx.step()?, "Bug: a terminated thread was scheduled for execution.");
|
||||
assert!(ecx.step()?, "a terminated thread was scheduled for execution");
|
||||
ecx.process_diagnostics();
|
||||
}
|
||||
// Read the return code pointer *before* we run TLS destructors, to assert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue