about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/print.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-08-12 10:57:57 +0200
committerRalf Jung <post@ralfj.de>2024-08-18 19:46:53 +0200
commit35709be02d43b40e7f720408f8a88bf6e9d5501d (patch)
tree5f4aa6c08afcb38af2c712e7b24cbff7983ceb4d /compiler/rustc_mir_build/src/thir/print.rs
parentb8464961a2681585a6231b93cd7e85e50022c2b3 (diff)
downloadrust-35709be02d43b40e7f720408f8a88bf6e9d5501d.tar.gz
rust-35709be02d43b40e7f720408f8a88bf6e9d5501d.zip
rename AddressOf -> RawBorrow inside the compiler
Diffstat (limited to 'compiler/rustc_mir_build/src/thir/print.rs')
-rw-r--r--compiler/rustc_mir_build/src/thir/print.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_mir_build/src/thir/print.rs b/compiler/rustc_mir_build/src/thir/print.rs
index 2d4b39e7b08..ce7774f5948 100644
--- a/compiler/rustc_mir_build/src/thir/print.rs
+++ b/compiler/rustc_mir_build/src/thir/print.rs
@@ -379,8 +379,8 @@ impl<'a, 'tcx> ThirPrinter<'a, 'tcx> {
                 self.print_expr(*arg, depth_lvl + 2);
                 print_indented!(self, ")", depth_lvl);
             }
-            AddressOf { mutability, arg } => {
-                print_indented!(self, "AddressOf {", depth_lvl);
+            RawBorrow { mutability, arg } => {
+                print_indented!(self, "RawBorrow {", depth_lvl);
                 print_indented!(self, format!("mutability: {:?}", mutability), depth_lvl + 1);
                 print_indented!(self, "arg:", depth_lvl + 1);
                 self.print_expr(*arg, depth_lvl + 2);