File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
rustc_smir/src/rustc_smir Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ impl<'tcx> Context for TablesWrapper<'tcx> {
660660 id. internal ( & mut * tables, tcx) . 0 . stable ( & mut * tables)
661661 }
662662
663- fn place_debug ( & self , place : & Place ) -> String {
663+ fn place_pretty ( & self , place : & Place ) -> String {
664664 let mut tables = self . 0 . borrow_mut ( ) ;
665665 let tcx = tables. tcx ;
666666 format ! ( "{:?}" , place. internal( & mut * tables, tcx) )
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ pub trait Context {
210210 fn layout_shape ( & self , id : Layout ) -> LayoutShape ;
211211
212212 /// Get a debug string representation of a place.
213- fn place_debug ( & self , place : & Place ) -> String ;
213+ fn place_pretty ( & self , place : & Place ) -> String ;
214214}
215215
216216// A thread local variable that stores a pointer to the tables mapping between TyCtxt
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ impl Display for Ty {
1818
1919impl Debug for Place {
2020 fn fmt ( & self , f : & mut Formatter < ' _ > ) -> fmt:: Result {
21- with ( |ctx| write ! ( f, "{}" , ctx. place_debug ( self ) ) )
21+ with ( |ctx| write ! ( f, "{}" , ctx. place_pretty ( self ) ) )
2222 }
2323}
2424
You can’t perform that action at this time.
0 commit comments