Rename let_and_return test for consistency with the lint name

This commit is contained in:
Eduardo Broto 2020-06-06 21:51:41 +02:00
parent dc13016ac2
commit 9c205d7b1b
2 changed files with 2 additions and 2 deletions

View File

@ -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