mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Merge pull request #1922 from rust-lang-nursery/compiletest_update
Update to latest compiletest version
This commit is contained in:
commit
75faed13b4
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue