-
Notifications
You must be signed in to change notification settings - Fork 945
Closed
Labels
bugPanic, non-idempotency, invalid code, etc.Panic, non-idempotency, invalid code, etc.
Description
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.
Metadata
Metadata
Assignees
Labels
bugPanic, non-idempotency, invalid code, etc.Panic, non-idempotency, invalid code, etc.