diff options
| author | bors <bors@rust-lang.org> | 2025-04-21 16:14:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-21 16:14:10 +0000 |
| commit | 8f2819b0e3428d0aee05fa60e91e0211c2aea053 (patch) | |
| tree | 8319a2108ee04851fcec93d82f74f798453677eb /compiler/rustc_session/src | |
| parent | c8f94230282a8e8c1148f3e657f0199aad909228 (diff) | |
| parent | 77325f5200097718ac87863c96388c15efc3a629 (diff) | |
Auto merge of #140122 - ChrisDenton:rollup-qsj6xu0, r=ChrisDenton
Rollup of 8 pull requests Successful merges: - #139946 (fix missing word in comment) - #139982 (SystemTime doc tweaks) - #140009 (docs(LocalKey<T>): clarify that T's Drop shouldn't panic) - #140021 (Don't ICE on pending obligations from deep normalization in a loop) - #140029 (Relocate tests in `tests/ui`) - #140030 (Fix autodiff debug builds) - #140120 (Use `output_base_dir` for `mir_dump_dir`) - #140121 (Document why CodeStats::type_sizes is public) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/code_stats.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/code_stats.rs b/compiler/rustc_session/src/code_stats.rs index 6b18d450e9e..80603b4a156 100644 --- a/compiler/rustc_session/src/code_stats.rs +++ b/compiler/rustc_session/src/code_stats.rs @@ -72,6 +72,8 @@ pub struct TypeSizeInfo { #[derive(Default)] pub struct CodeStats { + /// The hash set that actually holds all the type size information. + /// The field is public for use in external tools. See #139876. pub type_sizes: Lock<FxHashSet<TypeSizeInfo>>, } |
