"consider using a semicolon" where there already is one, after a ?
#87051
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=47f2843373fb4ad713fa520aa446ee5a
The current output is:
Ideally the output should look like:
(I guess, even tho in my un-reduced case I needed to make
a
take a closure returning a non-()
thing)Doesn't happen without the
?
.The text was updated successfully, but these errors were encountered: