-
-
Notifications
You must be signed in to change notification settings - Fork 15k
"Did you mean" for attributes should be the same style as functions #112439
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyT-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 lintsA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyT-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.
Code
In the playground (which has a large number of dependencies already):
Current output
Desired output
The first block should match the second block:
(I'd also love it if the line between each
usesuggestions was gone, but that's an extra request.)Rationale and extra context
Consistency is nice. The playground uses a regex to make these into clickable suggestions, but the regex only matches the latter.
Other cases
No response
Anything else?
No response