You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to run the debug version of rustfmt on the attached file (added .txt to the end to get around GitHub restrictions) then rustfmt crashes due to an arithmetic operation overflow like so
thread '<main>' panicked at 'arithmetic operation overflowed', src\lib.rs:351
This only happens if we use the windows format (i.e. CR+LF) for EOL stuff. I used the latest development version of rustfmt and compiled it with 1.5 stable on Windows 7.
If I try to run the debug version of rustfmt on the attached file (added .txt to the end to get around GitHub restrictions) then rustfmt crashes due to an arithmetic operation overflow like so
This only happens if we use the windows format (i.e. CR+LF) for EOL stuff. I used the latest development version of rustfmt and compiled it with 1.5 stable on Windows 7.
main.rs.txt
The text was updated successfully, but these errors were encountered: