File tree 1 file changed +5
-4
lines changed
compiler/rustc_const_eval/src/const_eval
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,11 @@ fn eval_body_using_ecx<'mir, 'tcx>(
51
51
assert ! ( !layout. is_unsized( ) ) ;
52
52
let ret = ecx. allocate ( layout, MemoryKind :: Stack ) ?;
53
53
54
- let name =
55
- with_no_trimmed_paths ( || ty:: tls:: with ( |tcx| tcx. def_path_str ( cid. instance . def_id ( ) ) ) ) ;
56
- let prom = cid. promoted . map_or_else ( String :: new, |p| format ! ( "::promoted[{:?}]" , p) ) ;
57
- trace ! ( "eval_body_using_ecx: pushing stack frame for global: {}{}" , name, prom) ;
54
+ trace ! (
55
+ "eval_body_using_ecx: pushing stack frame for global: {}{}" ,
56
+ with_no_trimmed_paths( || ty:: tls:: with( |tcx| tcx. def_path_str( cid. instance. def_id( ) ) ) ) ,
57
+ cid. promoted. map_or_else( String :: new, |p| format!( "::promoted[{:?}]" , p) )
58
+ ) ;
58
59
59
60
ecx. push_stack_frame (
60
61
cid. instance ,
You can’t perform that action at this time.
0 commit comments