diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-16 00:03:37 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-17 10:46:10 -0400 |
| commit | a6510507e784d37f52558a6ceaa8cf92d345a4e2 (patch) | |
| tree | 02d02114efa9b2062bb52054110cc95fc0023c7e /compiler/rustc_macros/src | |
| parent | 3de0a7c716daab58bdb6551b0d0af6a466486639 (diff) | |
| download | rust-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.rs | 2 |
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 }) } }, |
