Possible false positive with let_and_return
#3324
Labels
C-bug
Category: Clippy is not doing the correct thing
L-suggestion
Lint: Improving, adding or fixing lint suggestions
The following code works but returns a clippy lint error: https://play.rust-lang.org/?version=stable&mode=debug&edition=2015&gist=2417f60b483ac63fd3ffd90b66d6db16
When using the suggestion of clippy to remove the let, it fails to compile: https://play.rust-lang.org/?version=stable&mode=debug&edition=2015&gist=285ab39429037278c362bbb6d7ffddf6
The text was updated successfully, but these errors were encountered: