summary refs log tree commit diff
path: root/compiler/rustc_session/src/code_stats.rs
AgeCommit message (Collapse)AuthorLines
2023-12-03rustc_session: Address all `rustc::potential_query_instability` lintsMartin Nordholts-0/+4
Instead of allowing `rustc::potential_query_instability` on the whole crate we go over each lint and allow it individually if it is safe to do. Turns out all instances were safe to allow in this crate.
2023-11-05Use the actual computed crate name for -Zprint-vtable-sizesbjorn3-1/+1
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-6/+6
2023-07-23fix couple of clippy findings:Matthias Krüger-4/+2
filter_map_identity iter_kv_map needless_question_mark redundant_at_rest_pattern filter_next derivable_impls
2023-06-13Tweak the sort of vtable sizesMaybe Waffle-2/+6
2023-06-13Tweak names and docs for vtable statsMaybe Waffle-19/+31
2023-06-12Collect VTable stats & add `-Zprint-vtable-sizes`Maybe Waffle-1/+43
2023-03-07Simplify `sort_by` callsMaybe Waffle-9/+3
2023-02-05Sort Generator `print-type-sizes` according to their yield pointsArpad Borsos-1/+5
Especially when trying to diagnose runaway future sizes, it might be more intuitive to sort the variants according to the control flow (aka their yield points) rather than the size of the variants.
2023-01-31placate tidy.Felix S. Klock II-3/+3
2023-01-31Extend `-Z print-type-sizes` to distinguish generator upvars and locals from ↵Felix S. Klock II-4/+22
"normal" ADT fields.
2022-12-07Properly print generator interior type sizesMichael Goulet-3/+3
2022-12-07Compute generator sizes with -Zprint_type_sizesMichael Goulet-1/+2
2022-07-17avoid some `Symbol` to `String` conversionsTakayuki Maeda-3/+4
2022-03-24Vigorously refactor _session::code_stats (nfc)Jubilee Young-19/+11
2022-03-24Prettify rustc_session fmt with capturing args (nfc)Jubilee Young-14/+10
2020-08-30mv compiler to compiler/mark-0/+193