diff options
| author | bors <bors@rust-lang.org> | 2022-12-25 23:47:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-25 23:47:11 +0000 |
| commit | 797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4 (patch) | |
| tree | 811ca661f067af0af334b460c71448460ccb81bf /compiler/rustc_errors/src | |
| parent | 8dfb3395411555e93399671d0c41a4ac9ed62b95 (diff) | |
| parent | a054e703b1d6335d7145c7280d63add754bb0d93 (diff) | |
| download | rust-797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4.tar.gz rust-797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4.zip | |
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #105375 (Fix an outdated comment mentioning parameter that doesn't exist anymore) - #105955 (Remove wrapper functions for some unstable options) - #106137 (fix more clippy::style findings) - #106140 (Migrate links-color.goml to functions) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 518b5ec10f8..b03352d5fec 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -1212,8 +1212,8 @@ impl HandlerInner { self.taught_diagnostics.insert(code.clone()) } - fn force_print_diagnostic(&mut self, mut db: Diagnostic) { - self.emitter.emit_diagnostic(&mut db); + fn force_print_diagnostic(&mut self, db: Diagnostic) { + self.emitter.emit_diagnostic(&db); } /// Emit all stashed diagnostics. |
