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> {
539
539
// the codegen tests and can even make item order
540
540
// unstable.
541
541
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
+ }
544
544
InstanceKind :: VTableShim ( ..)
545
545
| InstanceKind :: ReifyShim ( ..)
546
546
| InstanceKind :: Intrinsic ( ..)
@@ -557,7 +557,9 @@ impl<'tcx> CodegenUnit<'tcx> {
557
557
| InstanceKind :: AsyncDropGlueCtorShim ( ..) => None ,
558
558
}
559
559
}
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
+ }
561
563
MonoItem :: GlobalAsm ( item_id) => Some ( tcx. def_span ( item_id. owner_id . def_id ) ) ,
562
564
} ,
563
565
item. symbol_name ( tcx) ,
You can’t perform that action at this time.
0 commit comments