-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustfmt skip does not work on macros #2006
Comments
Is it just the warning that is the issue? We don't seem to be formatting the macro itself. |
The issue is that the error is emitted but the macro is not formated. It is possible to make this particular macro fit into 79 charactes lines, but the tool is not doing it. I had to format it manually, and then the tool doesn't emit the error. IMO I shouldn't need to format anything manually unless I turn |
But you are turning rustfmt off by using the skip attribute? |
No, I keep it on. This happens here: https://github.com/gnzlbg/stdsimd/blob/master/src/x86/runtime.rs#L30 If I put one of those lines in a single line, the tool emits an error but does not reformat the line properly (or at least did not do so when I filled this issue). |
from
stdsimd
; line width set to 79 characters:shows:
The text was updated successfully, but these errors were encountered: