File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,10 @@ pub fn report_error<'tcx, 'mir>(
285285 ) =>
286286 {
287287 ecx. handle_ice ( ) ; // print interpreter backtrace
288- bug ! ( "This validation error should be impossible in Miri: {}" , format_interp_error( ecx. tcx. dcx( ) , e) ) ;
288+ bug ! (
289+ "This validation error should be impossible in Miri: {}" ,
290+ format_interp_error( ecx. tcx. dcx( ) , e)
291+ ) ;
289292 }
290293 UndefinedBehavior ( _) => "Undefined Behavior" ,
291294 ResourceExhaustion ( _) => "resource exhaustion" ,
@@ -299,7 +302,10 @@ pub fn report_error<'tcx, 'mir>(
299302 ) => "post-monomorphization error" ,
300303 _ => {
301304 ecx. handle_ice ( ) ; // print interpreter backtrace
302- bug ! ( "This error should be impossible in Miri: {}" , format_interp_error( ecx. tcx. dcx( ) , e) ) ;
305+ bug ! (
306+ "This error should be impossible in Miri: {}" ,
307+ format_interp_error( ecx. tcx. dcx( ) , e)
308+ ) ;
303309 }
304310 } ;
305311 #[ rustfmt:: skip]
You can’t perform that action at this time.
0 commit comments