about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-01-22 18:00:33 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-01-28 09:51:50 +0000
commit3175d03d3b07eb7a16455477117796ff76b8e691 (patch)
tree732f51f8fe229cde7c3f502cd581d0bf8ddfb1fb /compiler/rustc_hir_analysis/src
parent252741673b9c2b06267cd3a036d77489e92f963a (diff)
downloadrust-3175d03d3b07eb7a16455477117796ff76b8e691.tar.gz
rust-3175d03d3b07eb7a16455477117796ff76b8e691.zip
Take a LocalDefId in hir::Visitor::visit_fn.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
-rw-r--r--compiler/rustc_hir_analysis/src/collect/lifetimes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect/lifetimes.rs b/compiler/rustc_hir_analysis/src/collect/lifetimes.rs
index 359122d4e16..af26a61c785 100644
--- a/compiler/rustc_hir_analysis/src/collect/lifetimes.rs
+++ b/compiler/rustc_hir_analysis/src/collect/lifetimes.rs
@@ -829,7 +829,7 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
         fd: &'tcx hir::FnDecl<'tcx>,
         body_id: hir::BodyId,
         _: Span,
-        _: hir::HirId,
+        _: LocalDefId,
     ) {
         let output = match fd.output {
             hir::FnRetTy::DefaultReturn(_) => None,