rust/compiler/rustc_ty_utils/src
Kevin Reid 44d185b0d0 -Zprint-type-sizes: print the types of awaitees and unnamed coroutine locals.
This should assist comprehending the size of coroutines.
In particular, whenever a future is suspended while awaiting another
future, the latter is given the special name `__awaitee`, and now the
type of the awaited future will be printed, allowing identifying
caller/callee — er, I mean, poller/pollee — relationships.

It would be possible to include the type name in more cases, but I
thought that that might be overly verbose (`print-type-sizes` is already
a lot of text) and ordinary named fields or variables are easier for
readers to discover the types of.
2024-03-22 18:07:15 -07:00
..
abi.rs Programmatically convert some of the pat ctors 2024-03-22 11:13:29 -04:00
assoc.rs Ensure nested statics have a HIR node to prevent various queries from ICEing 2024-03-19 09:38:15 +00:00
common_traits.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
consts.rs Rollup merge of #119307 - compiler-errors:pat-lifetimes, r=Nadrieril 2023-12-26 13:29:14 -05:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
implied_bounds.rs Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
instance.rs Fix ABI for FnMut/Fn impls for async closures 2024-03-19 16:59:24 -04:00
layout_sanity_check.rs fix failure to detect a too-big-type after adding padding 2023-10-27 18:07:53 +02:00
layout.rs -Zprint-type-sizes: print the types of awaitees and unnamed coroutine locals. 2024-03-22 18:07:15 -07:00
lib.rs Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwco 2024-02-09 14:41:50 +01:00
needs_drop.rs Dejargnonize subst 2024-02-12 15:46:35 +09:00
opaque_types.rs Rollup merge of #122366 - oli-obk:opaques_defined_by_overflow, r=lcnr 2024-03-12 09:04:02 -07:00
representability.rs make Representability::Infinite carry ErrorGuaranteed 2024-03-14 20:52:13 +01:00
sig_types.rs Manual rustfmt 2024-03-12 05:53:46 +00:00
structural_match.rs remove StructuralEq trait 2024-01-24 07:56:23 +01:00
ty.rs address nits 2024-03-18 22:28:29 +01:00