Take a LocalDefId in hir::Visitor::visit_fn.
This commit is contained in:
parent
252741673b
commit
3175d03d3b
52 changed files with 235 additions and 211 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue