diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-10 14:27:48 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-10 15:44:03 -0400 |
| commit | 5e606c0bde35564df43a82d7c6ae32ad700c009c (patch) | |
| tree | fd30ec44620822aa3807f7a9b346949dec3f50b2 /compiler/rustc_middle/src/macros.rs | |
| parent | 6a19a87097fbf430d0fe09e15d9266a990c1e0f6 (diff) | |
| download | rust-5e606c0bde35564df43a82d7c6ae32ad700c009c.tar.gz rust-5e606c0bde35564df43a82d7c6ae32ad700c009c.zip | |
Lift `Lift`
Diffstat (limited to 'compiler/rustc_middle/src/macros.rs')
| -rw-r--r-- | compiler/rustc_middle/src/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/macros.rs b/compiler/rustc_middle/src/macros.rs index f70ef51107f..817ac594627 100644 --- a/compiler/rustc_middle/src/macros.rs +++ b/compiler/rustc_middle/src/macros.rs @@ -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) |
