1
Fork 0

s/place_debug/place_pretty in SMIR

This commit is contained in:
Celina G. Val 2024-03-20 18:02:11 -07:00
parent 5f6257429d
commit ebacf7acd3
3 changed files with 3 additions and 3 deletions

View file

@ -660,7 +660,7 @@ impl<'tcx> Context for TablesWrapper<'tcx> {
id.internal(&mut *tables, tcx).0.stable(&mut *tables)
}
fn place_debug(&self, place: &Place) -> String {
fn place_pretty(&self, place: &Place) -> String {
let mut tables = self.0.borrow_mut();
let tcx = tables.tcx;
format!("{:?}", place.internal(&mut *tables, tcx))