-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Deprecated suggestion message could be better #98631
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
# produces warning messages that I think could be improved? The current suggestion message doesn't seem ideal to me:Specifically this part sounds to me more like
Once::new()is the deprecated constant:I think something like this would be better, but I don't know how easy it would be to implement a more natural sentence: