Closed
Description
Follow-up to #77019
Originally posted by @bugaevc in #77035 (comment):
Would also be cool to emit this upon encountering
fn foo(_arg: i32): i32 {
...
}
which is how you'd define the return type in Scala and Kotlin.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: Suggestions generated by the compiler applied by `cargo fix`Category: An issue proposing an enhancement or a PR with one.Diagnostics: Confusing error or lint that should be reworked.Diagnostics: Confusing error or lint; hard to understand for new users.