]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/render/mod.rs
Rollup merge of #82244 - pickfire:patch-6, r=dtolnay
[rust.git] / src / librustdoc / html / render / mod.rs
index 914ad35e7a4881eb93b85606e2f2a746b38cd6fd..f5eb92c1bb5aa0522b736321736d31c22551ec06 100644 (file)
@@ -181,7 +181,7 @@ fn tcx(&self) -> TyCtxt<'tcx> {
         self.shared.tcx
     }
 
-    fn sess(&self) -> &Session {
+    fn sess(&self) -> &'tcx Session {
         &self.shared.tcx.sess
     }
 }