Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 14fdf2e

Browse files
authored
Merge pull request rust-lang#3014 from PSeitz/master
fixes rust-lang#2914 by handling BadIssue case
2 parents 661bea7 + 60c414c commit 14fdf2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/formatting.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ impl FormattingError {
271271
ErrorKind::LineOverflow(found, max) => (max, found - max),
272272
ErrorKind::TrailingWhitespace
273273
| ErrorKind::DeprecatedAttr
274+
| ErrorKind::BadIssue(_)
274275
| ErrorKind::BadAttr
275276
| ErrorKind::LostComment => {
276277
let trailing_ws_start = self

0 commit comments

Comments
 (0)