about summary refs log tree commit diff
path: root/tests/ui-fulldeps/compiler-calls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-fulldeps/compiler-calls.rs')
-rw-r--r--tests/ui-fulldeps/compiler-calls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui-fulldeps/compiler-calls.rs b/tests/ui-fulldeps/compiler-calls.rs
index 5fb47c87e50..d6148dfec43 100644
--- a/tests/ui-fulldeps/compiler-calls.rs
+++ b/tests/ui-fulldeps/compiler-calls.rs
@@ -25,7 +25,7 @@ fn main() {
     let mut count = 1;
     let args = vec!["compiler-calls".to_string(), "foo.rs".to_string()];
     rustc_driver::catch_fatal_errors(|| -> interface::Result<()> {
-        rustc_driver::RunCompiler::new(&args, &mut TestCalls { count: &mut count }).run();
+        rustc_driver::run_compiler(&args, &mut TestCalls { count: &mut count });
         Ok(())
     })
     .ok();