Lift Lift

This commit is contained in:
Michael Goulet
2024-05-10 14:27:48 -04:00
parent 6a19a87097
commit 5e606c0bde
8 changed files with 17 additions and 33 deletions

View File

@@ -57,7 +57,7 @@ macro_rules! span_bug {
macro_rules! TrivialLiftImpls {
($($ty:ty),+ $(,)?) => {
$(
impl<'tcx> $crate::ty::Lift<'tcx> for $ty {
impl<'tcx> $crate::ty::Lift<$crate::ty::TyCtxt<'tcx>> for $ty {
type Lifted = Self;
fn lift_to_tcx(self, _: $crate::ty::TyCtxt<'tcx>) -> Option<Self> {
Some(self)