Rename let_and_return test for consistency with the lint name
This commit is contained in:
parent
dc13016ac2
commit
9c205d7b1b
@ -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…
Reference in New Issue
Block a user