Merge commit '09bd400243
' into clippyup
This commit is contained in:
parent
9e73d33680
commit
027780ca2c
127 changed files with 2700 additions and 619 deletions
|
@ -92,7 +92,7 @@ impl EarlyLintPass for RefInDeref {
|
|||
cx,
|
||||
REF_IN_DEREF,
|
||||
object.span,
|
||||
"Creating a reference that is immediately dereferenced.",
|
||||
"creating a reference that is immediately dereferenced",
|
||||
"try this",
|
||||
snippet_with_applicability(cx, inner.span, "_", &mut applicability).to_string(),
|
||||
applicability,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue