Skip to content

Commit b264504

Browse files
killercupalexcrichton
authored andcommitted
tidy
1 parent 9680f3b commit b264504

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/tools/compiletest/src/runtest.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -2606,8 +2606,11 @@ impl<'test> TestCx<'test> {
26062606

26072607
let fixture_path = expected_output_path(&self.testpaths, None, &None, UI_FIXED);
26082608

2609-
// TODO(killercup): Add `nll.rs.fixed` files matching
2610-
let nll = self.config.compare_mode.as_ref().map(|x| *x == CompareMode::Nll).unwrap_or(false);
2609+
// FIXME(killercup): Add `nll.rs.fixed` files matching
2610+
let nll = self.config.compare_mode
2611+
.as_ref()
2612+
.map(|x| *x == CompareMode::Nll)
2613+
.unwrap_or(false);
26112614
if fixture_path.exists() && !nll {
26122615
use std::collections::HashSet;
26132616
use rustfix::{apply_suggestions, get_suggestions_from_json};
@@ -2620,7 +2623,7 @@ impl<'test> TestCx<'test> {
26202623
let errors = self.compare_output("rs.fixed", &fixed_code, &expected_fixed);
26212624
if errors > 0 {
26222625
panic!("rustfix produced different fixed file!");
2623-
// TODO: Add info for update-references.sh call
2626+
// FIXME(killercup): Add info for update-references.sh call
26242627
}
26252628
}
26262629
}

0 commit comments

Comments
 (0)