Suggest .clone()
or ref binding
on E0382
This commit is contained in:
parent
d121aa3b55
commit
9e72e35ceb
86 changed files with 1092 additions and 49 deletions
|
@ -3841,7 +3841,9 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
|
|||
}
|
||||
}
|
||||
|
||||
ExprKind::Loop(ref block, label) => self.resolve_labeled_block(label, expr.id, &block),
|
||||
ExprKind::Loop(ref block, label, _) => {
|
||||
self.resolve_labeled_block(label, expr.id, &block)
|
||||
}
|
||||
|
||||
ExprKind::While(ref cond, ref block, label) => {
|
||||
self.with_resolved_label(label, expr.id, |this| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue