You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expected !, found ()
rust-analyzer[type-mismatch](https://rust-analyzer.github.io/manual.html#type-mismatch)
`else` clause of `let...else` does not diverge
expected type `!`
found unit type `()`
try adding a diverging expression, such as `return` or `panic!(..)`
The text was updated successfully, but these errors were encountered:
I don't know the exact situation because the example you provided contains neither the stream macro nor the try_stream macro, but it is probably because syn parses let-else as Expr::Verbatim.
In that case, it could be fixed by one of the following: adjusting our code to visit Expr::Verbatim, relanding #53 (see #56), or waiting for syn 2 including dtolnay/syn#1231 to be released.
The text was updated successfully, but these errors were encountered: