The help message when an invalid calling convention is specified is getting a little unwieldy #93601
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
After #93561 misspelling a calling convention will output the following note:
This is getting pretty hard to read!
There are a couple of improvements we could make:
MachineApplicable::MaybeIncorrect
rustfix!With these suggestions in place the message could look like:
or
The text was updated successfully, but these errors were encountered: