Update to latest compiletest version

This commit is contained in:
Oliver Schneider 2017-08-02 18:07:05 +02:00
parent b1eec6b402
commit 9b3ea4264f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use std::path::PathBuf;
use std::env::{set_var, var};
fn run_mode(dir: &'static str, mode: &'static str) {
let mut config = compiletest::default_config();
let mut config = compiletest::Config::default();
let cfg_mode = mode.parse().expect("Invalid mode");
config.target_rustcflags = Some("-L target/debug/ -L target/debug/deps -Dwarnings".to_owned());

View File

@ -18,7 +18,7 @@ fn dogfood() {
}
}
let mut config = compiletest::default_config();
let mut config = compiletest::Config::default();
let cfg_mode = "run-fail".parse().expect("Invalid mode");
let mut s = String::new();