about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-16 00:03:37 -0400
committerMichael Goulet <michael@errs.io>2024-07-17 10:46:10 -0400
commita6510507e784d37f52558a6ceaa8cf92d345a4e2 (patch)
tree02d02114efa9b2062bb52054110cc95fc0023c7e /compiler/rustc_macros/src
parent3de0a7c716daab58bdb6551b0d0af6a466486639 (diff)
downloadrust-a6510507e784d37f52558a6ceaa8cf92d345a4e2.tar.gz
rust-a6510507e784d37f52558a6ceaa8cf92d345a4e2.zip
lift_to_tcx -> lift_to_interner
Diffstat (limited to 'compiler/rustc_macros/src')
-rw-r--r--compiler/rustc_macros/src/lift.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/lift.rs b/compiler/rustc_macros/src/lift.rs
index d41ceb29816..627f4088d5f 100644
--- a/compiler/rustc_macros/src/lift.rs
+++ b/compiler/rustc_macros/src/lift.rs
@@ -45,7 +45,7 @@ pub fn lift_derive(mut s: synstructure::Structure<'_>) -> proc_macro2::TokenStre
         quote! {
             type Lifted = #lifted;
 
-            fn lift_to_tcx(self, __tcx: ::rustc_middle::ty::TyCtxt<'__lifted>) -> Option<#lifted> {
+            fn lift_to_interner(self, __tcx: ::rustc_middle::ty::TyCtxt<'__lifted>) -> Option<#lifted> {
                 Some(match self { #body })
             }
         },