Rename let_and_return test for consistency with the lint name
This commit is contained in:
parent
dc13016ac2
commit
9c205d7b1b
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
error: returning the result of a `let` binding from a block
|
||||
--> $DIR/let_return.rs:7:5
|
||||
--> $DIR/let_and_return.rs:7:5
|
||||
|
|
||||
LL | let x = 5;
|
||||
| ---------- unnecessary `let` binding
|
||||
|
|
@ -14,7 +14,7 @@ LL | 5
|
|||
|
|
||||
|
||||
error: returning the result of a `let` binding from a block
|
||||
--> $DIR/let_return.rs:13:9
|
||||
--> $DIR/let_and_return.rs:13:9
|
||||
|
|
||||
LL | let x = 5;
|
||||
| ---------- unnecessary `let` binding
|
||||
Loading…
Add table
Add a link
Reference in a new issue