Skip to content

Commit 2ebb521

Browse files
committed
Fix nightly build failure (Added RunIgnored)
The failure was caused by rust-lang/rust#55053
1 parent 6eb3adc commit 2ebb521

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use std::path::PathBuf;
1717
#[cfg(not(feature = "norustc"))]
1818
use rustc;
1919

20-
use test::ColorConfig;
20+
use test::{ColorConfig, RunIgnored};
2121
use runtest::dylib_env_var;
2222

2323
#[derive(Clone, Copy, PartialEq, Debug)]
@@ -143,7 +143,7 @@ pub struct Config {
143143
pub mode: Mode,
144144

145145
/// Run ignored tests
146-
pub run_ignored: bool,
146+
pub run_ignored: RunIgnored,
147147

148148
/// Only run tests that match this filter
149149
pub filter: Option<String>,
@@ -337,7 +337,7 @@ impl Default for Config {
337337
build_base: env::temp_dir(),
338338
stage_id: "stage-id".to_owned(),
339339
mode: Mode::RunPass,
340-
run_ignored: false,
340+
run_ignored: RunIgnored::No,
341341
filter: None,
342342
filter_exact: false,
343343
logfile: None,

0 commit comments

Comments
 (0)