From 2ebb5216ab7391817cd02ddfcc8388a493692d70 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Sun, 28 Oct 2018 08:25:14 +0100 Subject: [PATCH] Fix nightly build failure (Added RunIgnored) The failure was caused by https://github.com/rust-lang/rust/pull/55053 --- src/common.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common.rs b/src/common.rs index 92a39b9..832cacd 100644 --- a/src/common.rs +++ b/src/common.rs @@ -17,7 +17,7 @@ use std::path::PathBuf; #[cfg(not(feature = "norustc"))] use rustc; -use test::ColorConfig; +use test::{ColorConfig, RunIgnored}; use runtest::dylib_env_var; #[derive(Clone, Copy, PartialEq, Debug)] @@ -143,7 +143,7 @@ pub struct Config { pub mode: Mode, /// Run ignored tests - pub run_ignored: bool, + pub run_ignored: RunIgnored, /// Only run tests that match this filter pub filter: Option, @@ -337,7 +337,7 @@ impl Default for Config { build_base: env::temp_dir(), stage_id: "stage-id".to_owned(), mode: Mode::RunPass, - run_ignored: false, + run_ignored: RunIgnored::No, filter: None, filter_exact: false, logfile: None,