rustc_hir: Relax lifetime requirements on Visitor::visit_path
This commit is contained in:
parent
9c0bc3028a
commit
6cd4dd3091
16 changed files with 19 additions and 19 deletions
|
@ -117,7 +117,7 @@ impl<'tcx> LateLintPass<'tcx> for TyTyKind {
|
|||
fn check_path(
|
||||
&mut self,
|
||||
cx: &LateContext<'tcx>,
|
||||
path: &'tcx rustc_hir::Path<'tcx>,
|
||||
path: &rustc_hir::Path<'tcx>,
|
||||
_: rustc_hir::HirId,
|
||||
) {
|
||||
if let Some(segment) = path.segments.iter().nth_back(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue