diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-25 12:58:21 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-02-13 11:49:52 +0100 |
| commit | 5eeff3f0733c83be9e0406874e92adf24a5cf2b6 (patch) | |
| tree | 4fa2d58bb73b45b99ccf1f74fb24a81ea93be9dd /compiler/rustc_driver/src/lib.rs | |
| parent | 9a60099cc43c8a07abb280be323d1ed9afc27f2c (diff) | |
| download | rust-5eeff3f0733c83be9e0406874e92adf24a5cf2b6.tar.gz rust-5eeff3f0733c83be9e0406874e92adf24a5cf2b6.zip | |
Remove Config::stderr
1. It captured stdout and not stderr 2. It isn't used anywhere 3. All error messages should go to the DiagnosticOutput instead 4. It modifies thread local state
Diffstat (limited to 'compiler/rustc_driver/src/lib.rs')
| -rw-r--r-- | compiler/rustc_driver/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index 7eeae66d709..3601169528b 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -226,7 +226,6 @@ fn run_compiler( output_dir: odir, file_loader, diagnostic_output, - stderr: None, lint_caps: Default::default(), parse_sess_created: None, register_lints: None, |
