Once impl_trait_in_bindings
is stable, suggest using it in local bindings
#63527
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
F-impl_trait_in_bindings
`#![feature(impl_trait_in_bindings)]`
requires-nightly
This issue requires a nightly compiler in some way.
S-blocked
Status: Blocked on something else such as an RFC or other implementation work.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#63507 (comment) introduces a check to not suggest
let foo: impl Trait
. Once this is valid, we should remove that gate.The text was updated successfully, but these errors were encountered: