From 9b3ea4264f9ac6169d5ac0904aea5204b78e08fe Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Wed, 2 Aug 2017 18:07:05 +0200 Subject: [PATCH] Update to latest compiletest version --- tests/compile-test.rs | 2 +- tests/dogfood.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index b09ce0e4ee8..f7d0c69afb0 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -4,7 +4,7 @@ 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()); diff --git a/tests/dogfood.rs b/tests/dogfood.rs index 83b2acf7d81..7a2f6701501 100644 --- a/tests/dogfood.rs +++ b/tests/dogfood.rs @@ -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();