1
Fork 0

lift_to_tcx -> lift_to_interner

This commit is contained in:
Michael Goulet 2024-07-16 00:03:37 -04:00
parent 3de0a7c716
commit a6510507e7
9 changed files with 17 additions and 17 deletions

View file

@ -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 })
}
},