diff --git a/src/base.rs b/src/base.rs index 6476de7652d..3d09b7cefc5 100644 --- a/src/base.rs +++ b/src/base.rs @@ -164,7 +164,7 @@ fn codegen_fn_content<'a, 'tcx: 'a>(fx: &mut FunctionCx<'a, 'tcx, impl Backend>) } else { fx.bcx.ins().brz(cond, target, &[]); }; - trap_panic(fx, format!("[panic] Assert {:?} failed at {:?}.", msg, bb_data.terminator().source_info.span)); + trap_panic(fx, format!("[panic] Assert {:?} at {:?} failed.", msg, bb_data.terminator().source_info.span)); } TerminatorKind::SwitchInt {