We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc13016 commit 9c205d7Copy full SHA for 9c205d7
tests/ui/let_return.rs renamed to tests/ui/let_and_return.rs
tests/ui/let_return.stderr renamed to tests/ui/let_and_return.stderr
@@ -1,5 +1,5 @@
1
error: returning the result of a `let` binding from a block
2
- --> $DIR/let_return.rs:7:5
+ --> $DIR/let_and_return.rs:7:5
3
|
4
LL | let x = 5;
5
| ---------- unnecessary `let` binding
@@ -14,7 +14,7 @@ LL | 5
14
15
16
17
- --> $DIR/let_return.rs:13:9
+ --> $DIR/let_and_return.rs:13:9
18
19
20
0 commit comments