diff options
| author | bors <bors@rust-lang.org> | 2022-10-18 05:06:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-18 05:06:04 +0000 |
| commit | a03ca01f4750e643a28731563e530917d314f729 (patch) | |
| tree | 7ee127a97e1d3393c10d319302d1b70d14987549 /compiler/rustc_interface/src/util.rs | |
| parent | 98a5ac269cffada469753ad2416717e251863f9a (diff) | |
| parent | 641f8249f99b407af7e5376b098323926eab1696 (diff) | |
| download | rust-a03ca01f4750e643a28731563e530917d314f729.tar.gz rust-a03ca01f4750e643a28731563e530917d314f729.zip | |
Auto merge of #102992 - nnethercote:rm-RunCompiler-emitter, r=bjorn3
Remove `RunCompiler::emitter`. It's no longer used. r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_interface/src/util.rs')
| -rw-r--r-- | compiler/rustc_interface/src/util.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_interface/src/util.rs b/compiler/rustc_interface/src/util.rs index f7e70d355cf..3a9e491e289 100644 --- a/compiler/rustc_interface/src/util.rs +++ b/compiler/rustc_interface/src/util.rs @@ -18,7 +18,7 @@ use rustc_session::config::{self, CrateType}; use rustc_session::config::{ErrorOutputType, Input, OutputFilenames}; use rustc_session::lint::{self, BuiltinLintDiagnostics, LintBuffer}; use rustc_session::parse::CrateConfig; -use rustc_session::{early_error, filesearch, output, DiagnosticOutput, Session}; +use rustc_session::{early_error, filesearch, output, Session}; use rustc_span::edition::Edition; use rustc_span::lev_distance::find_best_match_for_name; use rustc_span::source_map::FileLoader; @@ -65,7 +65,6 @@ pub fn create_session( sopts: config::Options, cfg: FxHashSet<(String, Option<String>)>, check_cfg: CheckCfg, - diagnostic_output: DiagnosticOutput, file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>, input_path: Option<PathBuf>, lint_caps: FxHashMap<lint::LintId, lint::Level>, @@ -104,7 +103,6 @@ pub fn create_session( input_path, bundle, descriptions, - diagnostic_output, lint_caps, file_loader, target_override, |
