Skip to content

Commit

Permalink
fixes rust-lang#2914 by handling BadIssue case
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Sep 11, 2018
1 parent 77824a2 commit 60c414c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/formatting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ impl FormattingError {
ErrorKind::LineOverflow(found, max) => (max, found - max),
ErrorKind::TrailingWhitespace
| ErrorKind::DeprecatedAttr
| ErrorKind::BadIssue(_)
| ErrorKind::BadAttr
| ErrorKind::LostComment => {
let trailing_ws_start = self
Expand Down

0 comments on commit 60c414c

Please sign in to comment.