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
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue