Address code review feedback
This commit is contained in:
parent
26f9954971
commit
50ef8006eb
10 changed files with 53 additions and 36 deletions
|
@ -873,8 +873,9 @@ pub fn noop_visit_closure_binder<T: MutVisitor>(binder: &mut ClosureBinder, vis:
|
|||
|
||||
pub fn noop_visit_coro_kind<T: MutVisitor>(coro_kind: &mut CoroutineKind, vis: &mut T) {
|
||||
match coro_kind {
|
||||
CoroutineKind::Async { span: _, closure_id, return_impl_trait_id }
|
||||
| CoroutineKind::Gen { span: _, closure_id, return_impl_trait_id } => {
|
||||
CoroutineKind::Async { span, closure_id, return_impl_trait_id }
|
||||
| CoroutineKind::Gen { span, closure_id, return_impl_trait_id } => {
|
||||
vis.visit_span(span);
|
||||
vis.visit_id(closure_id);
|
||||
vis.visit_id(return_impl_trait_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue