Span for asm error too large #34940
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-inline-assembly
Area: Inline assembly (`asm!(…)`)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Looking around the compile-fail test suite, I noticed this example:
The span on the asm line seems a bit much. Ideally, I think we'd show them where the assignment is happening so they don't have to look for it. Something like:
Or even:
The text was updated successfully, but these errors were encountered: