diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-01-22 18:00:33 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-01-28 09:51:50 +0000 |
| commit | 3175d03d3b07eb7a16455477117796ff76b8e691 (patch) | |
| tree | 732f51f8fe229cde7c3f502cd581d0bf8ddfb1fb /compiler/rustc_hir_analysis/src | |
| parent | 252741673b9c2b06267cd3a036d77489e92f963a (diff) | |
| download | rust-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.rs | 2 |
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, |
