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
|
@ -377,7 +377,7 @@ impl<'a> State<'a> {
|
|||
self.space();
|
||||
self.print_block_with_attrs(blk, attrs);
|
||||
}
|
||||
ast::ExprKind::Loop(ref blk, opt_label) => {
|
||||
ast::ExprKind::Loop(ref blk, opt_label, _) => {
|
||||
if let Some(label) = opt_label {
|
||||
self.print_ident(label.ident);
|
||||
self.word_space(":");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue