File tree 3 files changed +3
-3
lines changed
rustc_smir/src/rustc_smir
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> {
660
660
id. internal ( & mut * tables, tcx) . 0 . stable ( & mut * tables)
661
661
}
662
662
663
- fn place_debug ( & self , place : & Place ) -> String {
663
+ fn place_pretty ( & self , place : & Place ) -> String {
664
664
let mut tables = self . 0 . borrow_mut ( ) ;
665
665
let tcx = tables. tcx ;
666
666
format ! ( "{:?}" , place. internal( & mut * tables, tcx) )
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ pub trait Context {
210
210
fn layout_shape ( & self , id : Layout ) -> LayoutShape ;
211
211
212
212
/// Get a debug string representation of a place.
213
- fn place_debug ( & self , place : & Place ) -> String ;
213
+ fn place_pretty ( & self , place : & Place ) -> String ;
214
214
}
215
215
216
216
// 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 {
18
18
19
19
impl Debug for Place {
20
20
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 ) ) )
22
22
}
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments