diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-06 11:28:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-06 11:28:19 +0100 |
| commit | b88d62e2224f0bd07aa4367f477384a5fe6c630b (patch) | |
| tree | 2ae785cab5276fc27788b1296a36db8ee9f224be /compiler/rustc_session/src/code_stats.rs | |
| parent | ec35c0314391f8118be570adddf93b1c3d46265a (diff) | |
| parent | ec29a02071a3bdc95bb36d8f1a5693803295431e (diff) | |
Rollup merge of #117615 - bjorn3:misc_changes, r=davidtwco
Couple of small changes These are unrelated to each other, but they are each small enough that opening separate PR's doesn't make sense to me either. * Remove a place where the parse driver query is stolen. * Update an outdated doc comment * Use correct crate name in `-Zprint-vtable-sizes` when using `#![crate_name = "..."]`.
Diffstat (limited to 'compiler/rustc_session/src/code_stats.rs')
| -rw-r--r-- | compiler/rustc_session/src/code_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/code_stats.rs b/compiler/rustc_session/src/code_stats.rs index f792b8f2cdd..e1eb58fecc7 100644 --- a/compiler/rustc_session/src/code_stats.rs +++ b/compiler/rustc_session/src/code_stats.rs @@ -226,7 +226,7 @@ impl CodeStats { } } - pub fn print_vtable_sizes(&self, crate_name: &str) { + pub fn print_vtable_sizes(&self, crate_name: Symbol) { let mut infos = std::mem::take(&mut *self.vtable_sizes.lock()).into_values().collect::<Vec<_>>(); |
