diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-11-04 18:12:22 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-11-05 16:29:15 +0000 |
| commit | ba82056a1434bb9086bb9fa7b75878600996a327 (patch) | |
| tree | d12e486378716c427e60ce5a9c968be967b4fb72 /compiler/rustc_session | |
| parent | 1a1b10fa637e422a00af82941f9854928c12bf95 (diff) | |
| download | rust-ba82056a1434bb9086bb9fa7b75878600996a327.tar.gz rust-ba82056a1434bb9086bb9fa7b75878600996a327.zip | |
Use the actual computed crate name for -Zprint-vtable-sizes
Diffstat (limited to 'compiler/rustc_session')
| -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<_>>(); |
