diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-22 14:13:14 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-23 09:38:58 +0000 |
| commit | a77776cc1d7c599f4ff9355ffe01bad2e2b5bbad (patch) | |
| tree | da03459bc81a07b8a732063c119fd595852a977d /tests/ui-fulldeps/compiler-calls.rs | |
| parent | 974db1a6e444e2b053f49a8d3242db335669acef (diff) | |
| download | rust-a77776cc1d7c599f4ff9355ffe01bad2e2b5bbad.tar.gz rust-a77776cc1d7c599f4ff9355ffe01bad2e2b5bbad.zip | |
Remove RunCompiler
It has become nothing other than a wrapper around run_compiler.
Diffstat (limited to 'tests/ui-fulldeps/compiler-calls.rs')
| -rw-r--r-- | tests/ui-fulldeps/compiler-calls.rs | 2 |
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(); |
