type-mismatch false positive when early return from match #11814
Labels
A-ty
type system / type inference / traits / method resolution
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
consider the following code:
This shows the error diagnostic
expected bool, found () (rust-analyzer)[type-mismatch]The text was updated successfully, but these errors were encountered: