Skip to content

Commit 9c205d7

Browse files
committed
Rename let_and_return test for consistency with the lint name
1 parent dc13016 commit 9c205d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

tests/ui/let_return.stderr renamed to tests/ui/let_and_return.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: returning the result of a `let` binding from a block
2-
--> $DIR/let_return.rs:7:5
2+
--> $DIR/let_and_return.rs:7:5
33
|
44
LL | let x = 5;
55
| ---------- unnecessary `let` binding
@@ -14,7 +14,7 @@ LL | 5
1414
|
1515

1616
error: returning the result of a `let` binding from a block
17-
--> $DIR/let_return.rs:13:9
17+
--> $DIR/let_and_return.rs:13:9
1818
|
1919
LL | let x = 5;
2020
| ---------- unnecessary `let` binding

0 commit comments

Comments
 (0)