about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-02-05 15:26:49 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2022-04-30 13:51:49 +0200
commit71b4e2d852be70174579e7e5a96644418348a7da (patch)
tree723592bfb1d152ab0732ae37d4245ace0847b1a3 /compiler/rustc_resolve/src
parent76d4862fdd131b6f79dc0a31857f888d26bcdb27 (diff)
downloadrust-71b4e2d852be70174579e7e5a96644418348a7da.tar.gz
rust-71b4e2d852be70174579e7e5a96644418348a7da.zip
Box HIR Generics and Impl.
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/late/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/diagnostics.rs b/compiler/rustc_resolve/src/late/diagnostics.rs
index 894ff0f17f8..a5243bf8ac3 100644
--- a/compiler/rustc_resolve/src/late/diagnostics.rs
+++ b/compiler/rustc_resolve/src/late/diagnostics.rs
@@ -86,7 +86,7 @@ impl ForLifetimeSpanType {
     }
 }
 
-impl<'tcx> Into<MissingLifetimeSpot<'tcx>> for &'tcx hir::Generics<'tcx> {
+impl<'tcx> Into<MissingLifetimeSpot<'tcx>> for &&'tcx hir::Generics<'tcx> {
     fn into(self) -> MissingLifetimeSpot<'tcx> {
         MissingLifetimeSpot::Generics(self)
     }