-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
binary_asm_labels should suggest a change #127821
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-inline-assemblyArea: Inline assembly (`asm!(…)`)Area: Inline assembly (`asm!(…)`)L-binary_asm_labelsLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyT-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-inline-assemblyArea: Inline assembly (`asm!(…)`)Area: Inline assembly (`asm!(…)`)L-binary_asm_labelsLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyLint: LLVM parses labels like 0, 1, 10, 11, etc. oddlyT-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
Current output
Desired output
Suggest a change that fixes this.
Rationale and extra context
I don't see any documentation about
binary_asm_labels, so we should probably suggest what to do instead. I think the correct thing is to start numbering from 2.The lint was added in #126922 (cc @asquared31415) to fix issue #94426.
Other cases
No response
Rust Version
Anything else?
No response