File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
compiler/rustc_middle/src/mir Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -539,8 +539,8 @@ impl<'tcx> CodegenUnit<'tcx> {
539539 // the codegen tests and can even make item order
540540 // unstable.
541541 InstanceKind :: Item ( def) => {
542- def. as_local ( ) . map ( |def_id|tcx. def_span ( def_id) )
543- } ,
542+ def. as_local ( ) . map ( |def_id| tcx. def_span ( def_id) )
543+ }
544544 InstanceKind :: VTableShim ( ..)
545545 | InstanceKind :: ReifyShim ( ..)
546546 | InstanceKind :: Intrinsic ( ..)
@@ -557,7 +557,9 @@ impl<'tcx> CodegenUnit<'tcx> {
557557 | InstanceKind :: AsyncDropGlueCtorShim ( ..) => None ,
558558 }
559559 }
560- MonoItem :: Static ( def_id) => def_id. as_local ( ) . map ( |def_id|tcx. def_span ( def_id) ) ,
560+ MonoItem :: Static ( def_id) => {
561+ def_id. as_local ( ) . map ( |def_id| tcx. def_span ( def_id) )
562+ }
561563 MonoItem :: GlobalAsm ( item_id) => Some ( tcx. def_span ( item_id. owner_id . def_id ) ) ,
562564 } ,
563565 item. symbol_name ( tcx) ,
You can’t perform that action at this time.
0 commit comments