mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1905797 - Account for the new format of diff lines in rustfmt nightly output. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D215450
This commit is contained in:
parent
32c4882063
commit
dec8465865
@ -41,7 +41,7 @@ Try to update it:
|
||||
def parse_issues(config, output, paths):
|
||||
RustfmtDiff = namedtuple("RustfmtDiff", ["file", "line", "diff"])
|
||||
issues = []
|
||||
diff_line = re.compile("^Diff in (.*) at line ([0-9]*):")
|
||||
diff_line = re.compile("^Diff in (.*)(?: at line |:)([0-9]*):")
|
||||
file = ""
|
||||
line_no = 0
|
||||
diff = ""
|
||||
|
Loading…
Reference in New Issue
Block a user