// HACK(eddyb) maybe move this in a more central location.
#[derive(Copy, Clone)]
struct Highlighted<'gcx, 'tcx, T> {
- tcx: TyCtxt<'tcx, 'gcx, 'tcx>,
+ tcx: TyCtxt<'gcx, 'tcx>,
highlight: RegionHighlightMode,
value: T,
}
}
impl<'gcx, 'tcx, T> fmt::Display for Highlighted<'gcx, 'tcx, T>
- where T: for<'a, 'b, 'c> Print<'gcx, 'tcx,
+ where
+ T: for<'a, 'b, 'c> Print<
+ 'gcx,
+ 'tcx,
FmtPrinter<'a, 'gcx, 'tcx, &'b mut fmt::Formatter<'c>>,
Error = fmt::Error,
>,