1
Fork 0

Suggest .clone() or ref binding on E0382

This commit is contained in:
Esteban Küber 2022-11-02 21:22:24 -07:00
parent d121aa3b55
commit 9e72e35ceb
86 changed files with 1092 additions and 49 deletions

View file

@ -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(":");