Add hir::Node::PreciseCapturingNonLifetimeArg
This commit is contained in:
parent
42ba57c013
commit
02d7317af2
14 changed files with 110 additions and 38 deletions
|
@ -1151,7 +1151,7 @@ pub fn walk_precise_capturing_arg<'v, V: Visitor<'v>>(
|
|||
) -> V::Result {
|
||||
match *arg {
|
||||
PreciseCapturingArg::Lifetime(lt) => visitor.visit_lifetime(lt),
|
||||
PreciseCapturingArg::Param(_, hir_id) => visitor.visit_id(hir_id),
|
||||
PreciseCapturingArg::Param(param) => visitor.visit_id(param.hir_id),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue