@@ -224,12 +224,12 @@ trait HirPrinterSupport<'ast>: pprust_hir::PpAnn {
224224 fn pp_ann < ' a > ( & ' a self ) -> & ' a pprust_hir:: PpAnn ;
225225}
226226
227- struct NoAnn < ' ast , ' tcx > {
228- sess : & ' tcx Session ,
227+ struct NoAnn < ' ast > {
228+ sess : & ' ast Session ,
229229 ast_map : Option < hir_map:: Map < ' ast > >
230230}
231231
232- impl < ' ast , ' tcx > PrinterSupport < ' ast > for NoAnn < ' ast , ' tcx > {
232+ impl < ' ast > PrinterSupport < ' ast > for NoAnn < ' ast > {
233233 fn sess < ' a > ( & ' a self ) -> & ' a Session { self . sess }
234234
235235 fn ast_map < ' a > ( & ' a self ) -> Option < & ' a hir_map:: Map < ' ast > > {
@@ -239,7 +239,7 @@ impl<'ast, 'tcx> PrinterSupport<'ast> for NoAnn<'ast, 'tcx> {
239239 fn pp_ann < ' a > ( & ' a self ) -> & ' a pprust:: PpAnn { self }
240240}
241241
242- impl < ' ast , ' tcx > HirPrinterSupport < ' ast > for NoAnn < ' ast , ' tcx > {
242+ impl < ' ast > HirPrinterSupport < ' ast > for NoAnn < ' ast > {
243243 fn sess < ' a > ( & ' a self ) -> & ' a Session { self . sess }
244244
245245 fn ast_map < ' a > ( & ' a self ) -> Option < & ' a hir_map:: Map < ' ast > > {
@@ -249,15 +249,15 @@ impl<'ast, 'tcx> HirPrinterSupport<'ast> for NoAnn<'ast, 'tcx> {
249249 fn pp_ann < ' a > ( & ' a self ) -> & ' a pprust_hir:: PpAnn { self }
250250}
251251
252- impl < ' ast , ' tcx > pprust:: PpAnn for NoAnn < ' ast , ' tcx > { }
253- impl < ' ast , ' tcx > pprust_hir:: PpAnn for NoAnn < ' ast , ' tcx > { }
252+ impl < ' ast > pprust:: PpAnn for NoAnn < ' ast > { }
253+ impl < ' ast > pprust_hir:: PpAnn for NoAnn < ' ast > { }
254254
255- struct IdentifiedAnnotation < ' ast , ' tcx > {
256- sess : & ' tcx Session ,
255+ struct IdentifiedAnnotation < ' ast > {
256+ sess : & ' ast Session ,
257257 ast_map : Option < hir_map:: Map < ' ast > > ,
258258}
259259
260- impl < ' ast , ' tcx > PrinterSupport < ' ast > for IdentifiedAnnotation < ' ast , ' tcx > {
260+ impl < ' ast > PrinterSupport < ' ast > for IdentifiedAnnotation < ' ast > {
261261 fn sess < ' a > ( & ' a self ) -> & ' a Session { self . sess }
262262
263263 fn ast_map < ' a > ( & ' a self ) -> Option < & ' a hir_map:: Map < ' ast > > {
@@ -267,7 +267,7 @@ impl<'ast, 'tcx> PrinterSupport<'ast> for IdentifiedAnnotation<'ast, 'tcx> {
267267 fn pp_ann < ' a > ( & ' a self ) -> & ' a pprust:: PpAnn { self }
268268}
269269
270- impl < ' ast , ' tcx > pprust:: PpAnn for IdentifiedAnnotation < ' ast , ' tcx > {
270+ impl < ' ast > pprust:: PpAnn for IdentifiedAnnotation < ' ast > {
271271 fn pre ( & self ,
272272 s : & mut pprust:: State ,
273273 node : pprust:: AnnNode ) -> io:: Result < ( ) > {
@@ -307,7 +307,7 @@ impl<'ast, 'tcx> pprust::PpAnn for IdentifiedAnnotation<'ast, 'tcx> {
307307 }
308308}
309309
310- impl < ' ast , ' tcx > HirPrinterSupport < ' ast > for IdentifiedAnnotation < ' ast , ' tcx > {
310+ impl < ' ast > HirPrinterSupport < ' ast > for IdentifiedAnnotation < ' ast > {
311311 fn sess < ' a > ( & ' a self ) -> & ' a Session { self . sess }
312312
313313 fn ast_map < ' a > ( & ' a self ) -> Option < & ' a hir_map:: Map < ' ast > > {
@@ -317,7 +317,7 @@ impl<'ast, 'tcx> HirPrinterSupport<'ast> for IdentifiedAnnotation<'ast, 'tcx> {
317317 fn pp_ann < ' a > ( & ' a self ) -> & ' a pprust_hir:: PpAnn { self }
318318}
319319
320- impl < ' ast , ' tcx > pprust_hir:: PpAnn for IdentifiedAnnotation < ' ast , ' tcx > {
320+ impl < ' ast > pprust_hir:: PpAnn for IdentifiedAnnotation < ' ast > {
321321 fn pre ( & self ,
322322 s : & mut pprust_hir:: State ,
323323 node : pprust_hir:: AnnNode ) -> io:: Result < ( ) > {
@@ -356,12 +356,12 @@ impl<'ast, 'tcx> pprust_hir::PpAnn for IdentifiedAnnotation<'ast, 'tcx> {
356356 }
357357}
358358
359- struct HygieneAnnotation < ' ast , ' tcx > {
360- sess : & ' tcx Session ,
359+ struct HygieneAnnotation < ' ast > {
360+ sess : & ' ast Session ,
361361 ast_map : Option < hir_map:: Map < ' ast > > ,
362362}
363363
364- impl < ' ast , ' tcx > PrinterSupport < ' ast > for HygieneAnnotation < ' ast , ' tcx > {
364+ impl < ' ast > PrinterSupport < ' ast > for HygieneAnnotation < ' ast > {
365365 fn sess < ' a > ( & ' a self ) -> & ' a Session { self . sess }
366366
367367 fn ast_map < ' a > ( & ' a self ) -> Option < & ' a hir_map:: Map < ' ast > > {
@@ -371,7 +371,7 @@ impl<'ast, 'tcx> PrinterSupport<'ast> for HygieneAnnotation<'ast, 'tcx> {
371371 fn pp_ann < ' a > ( & ' a self ) -> & ' a pprust:: PpAnn { self }
372372}
373373
374- impl < ' ast , ' tcx > pprust:: PpAnn for HygieneAnnotation < ' ast , ' tcx > {
374+ impl < ' ast > pprust:: PpAnn for HygieneAnnotation < ' ast > {
375375 fn post ( & self ,
376376 s : & mut pprust:: State ,
377377 node : pprust:: AnnNode ) -> io:: Result < ( ) > {
0 commit comments