Rollup merge of #103908 - estebank:consider-cloning, r=compiler-errors
Suggest `.clone()` or `ref binding` on E0382
This commit is contained in:
commit
5197ef66b7
92 changed files with 1407 additions and 78 deletions
|
@ -307,7 +307,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
|
|||
| ExprKind::InlineAsm(_)
|
||||
| ExprKind::Let(_, _, _)
|
||||
| ExprKind::Lit(_)
|
||||
| ExprKind::Loop(_, _)
|
||||
| ExprKind::Loop(_, _, _)
|
||||
| ExprKind::MacCall(_)
|
||||
| ExprKind::Match(_, _)
|
||||
| ExprKind::Path(_, _)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue