rust/tests/ui/author/matches.stderr
2018-12-28 12:41:12 +01:00

16 lines
418 B
Plaintext

error: returning the result of a let binding from a block. Consider returning the expression directly.
--> $DIR/matches.rs:18:13
|
LL | x
| ^
|
= note: `-D clippy::let-and-return` implied by `-D warnings`
note: this expression can be directly returned
--> $DIR/matches.rs:17:21
|
LL | let x = 3;
| ^
error: aborting due to previous error