Skip to content

Commit

Permalink
Merge pull request rust-lang#3014 from PSeitz/master
Browse files Browse the repository at this point in the history
fixes rust-lang#2914 by handling BadIssue case
  • Loading branch information
nrc authored Sep 18, 2018
2 parents 661bea7 + 60c414c commit 14fdf2e
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 14fdf2e

Please sign in to comment.