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

@ -1376,7 +1376,7 @@ pub enum ExprKind {
/// Conditionless loop (can be exited with `break`, `continue`, or `return`).
///
/// `'label: loop { block }`
Loop(P<Block>, Option<Label>),
Loop(P<Block>, Option<Label>, Span),
/// A `match` block.
Match(P<Expr>, Vec<Arm>),
/// A closure (e.g., `move |a, b, c| a + b + c`).