Suggest #[feature(min_specialization)]
instead of #[feature(specialization)]
when user attempts to use it
#77913
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-specialization
Area: Trait impl specialization
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.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Right now we're suggesting something that will then immediately raise
incomplete_features
lint. In majority of use-casesmin_specialization
will likely work just as well, so we should probably suggest that as a first option first.The text was updated successfully, but these errors were encountered: