-
Notifications
You must be signed in to change notification settings - Fork 926
error[internal]: left behind trailing whitespace #3904
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
Comments
Hey @samuela - What version of rustfmt are you using? |
Switching the comment from |
I'm running on the command line with
|
I have what seems to be a similar situation with this bit of code: checkkwd = (0x2i32 | 0x1i32) as smallint; /* unrecognized "\z": print both chars unless ' or " */
rpp = rpp2; where rustfmt is adamant that there must be a bunch of spaces on the second line in order to match up with the beginning |
Thanks. I ask as there's been quite a few of various |
Sounds good, thanks for taking a look! |
👀 That sounds really odd. |
@calebcartwright Yeah, also thought it was kinda strange. Happy to provide the complete file for this case as well if you'd like. |
nearly 16k lines! That looks fun 😄 I'm still getting the whitespace error with 1.4.10 (as well as a few |
I think you may want to open separate issues for the two other items you've noted above, and keep this issue focused on the trailing white space issue (different results between |
I'm trying to format a module and rustfmt is failing with
Here's the source file: ash.rs.zip
The text was updated successfully, but these errors were encountered: