s/place_debug/place_pretty in SMIR
This commit is contained in:
parent
5f6257429d
commit
ebacf7acd3
3 changed files with 3 additions and 3 deletions
|
@ -210,7 +210,7 @@ pub trait Context {
|
|||
fn layout_shape(&self, id: Layout) -> LayoutShape;
|
||||
|
||||
/// Get a debug string representation of a place.
|
||||
fn place_debug(&self, place: &Place) -> String;
|
||||
fn place_pretty(&self, place: &Place) -> String;
|
||||
}
|
||||
|
||||
// A thread local variable that stores a pointer to the tables mapping between TyCtxt
|
||||
|
|
|
@ -18,7 +18,7 @@ impl Display for Ty {
|
|||
|
||||
impl Debug for Place {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||
with(|ctx| write!(f, "{}", ctx.place_debug(self)))
|
||||
with(|ctx| write!(f, "{}", ctx.place_pretty(self)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue