X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustdoc%2Fcore.rs;h=da0df596c41e34f7ca88e07b1e7b0811b75ed22d;hb=6c0c6d6eb3b38931f9dd4f5466185591e91d51c9;hp=893249e88cf7b658b7b4e0b6d020c45ae99d0817;hpb=3278dea67afec3b25c5fe42c6b2171f1524adc4c;p=rust.git diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 893249e88cf..da0df596c41 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -489,7 +489,7 @@ fn nested_visit_map(&mut self) -> Self::Map { self.tcx.hir() } - fn visit_path(&mut self, path: &'tcx Path<'_>, _id: HirId) { + fn visit_path(&mut self, path: &Path<'tcx>, _id: HirId) { debug!("visiting path {:?}", path); if path.res == Res::Err { // We have less context here than in rustc_resolve,