about summary refs log tree commit diff
path: root/compiler/stable_mir/src/compiler_interface.rs
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2024-03-20 18:02:11 -0700
committerCelina G. Val <celinval@amazon.com>2024-03-20 18:02:11 -0700
commitebacf7acd30d5fe9e7b889ac47a238c495737346 (patch)
tree28adf8483d27844db08257bf27df2046c734b87e /compiler/stable_mir/src/compiler_interface.rs
parent5f6257429dffd5bf4b733f043d45179352278d61 (diff)
downloadrust-ebacf7acd30d5fe9e7b889ac47a238c495737346.tar.gz
rust-ebacf7acd30d5fe9e7b889ac47a238c495737346.zip
s/place_debug/place_pretty in SMIR
Diffstat (limited to 'compiler/stable_mir/src/compiler_interface.rs')
-rw-r--r--compiler/stable_mir/src/compiler_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stable_mir/src/compiler_interface.rs b/compiler/stable_mir/src/compiler_interface.rs
index 68f078892ef..8ed34fab54d 100644
--- a/compiler/stable_mir/src/compiler_interface.rs
+++ b/compiler/stable_mir/src/compiler_interface.rs
@@ -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