Suggestion to remove ?
#59756
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
F-try_blocks
`#![feature(try_blocks)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
produces:
It would be helpful if Rust suggested removing the
?
here, as without it, the function has the correct return type.The text was updated successfully, but these errors were encountered: