From b2645044039cb59858ec494e0ddacbe597757cdb Mon Sep 17 00:00:00 2001 From: Pascal Hertleif Date: Wed, 2 May 2018 00:44:39 +0200 Subject: [PATCH] tidy --- src/tools/compiletest/src/runtest.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index a7c34921842d..745952ddf9e6 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2606,8 +2606,11 @@ impl<'test> TestCx<'test> { let fixture_path = expected_output_path(&self.testpaths, None, &None, UI_FIXED); - // TODO(killercup): Add `nll.rs.fixed` files matching - let nll = self.config.compare_mode.as_ref().map(|x| *x == CompareMode::Nll).unwrap_or(false); + // FIXME(killercup): Add `nll.rs.fixed` files matching + let nll = self.config.compare_mode + .as_ref() + .map(|x| *x == CompareMode::Nll) + .unwrap_or(false); if fixture_path.exists() && !nll { use std::collections::HashSet; use rustfix::{apply_suggestions, get_suggestions_from_json}; @@ -2620,7 +2623,7 @@ impl<'test> TestCx<'test> { let errors = self.compare_output("rs.fixed", &fixed_code, &expected_fixed); if errors > 0 { panic!("rustfix produced different fixed file!"); - // TODO: Add info for update-references.sh call + // FIXME(killercup): Add info for update-references.sh call } } }