rust/compiler/rustc_mir_build/src
Zalathar c479bc7f3b coverage: Attach an optional FunctionCoverageInfo to mir::Body
This allows coverage information to be attached to the function as a whole when
appropriate, instead of being smuggled through coverage statements in the
function's basic blocks.

As an example, this patch moves the `function_source_hash` value out of
individual `CoverageKind::Counter` statements and into the per-function info.

When synthesizing unused functions for coverage purposes, the absence of this
info is taken to indicate that a function was not eligible for coverage and
should not be synthesized.
2023-10-18 21:20:29 +11:00
..
build coverage: Attach an optional FunctionCoverageInfo to mir::Body 2023-10-18 21:20:29 +11:00
thir Rollup merge of #116522 - bvanjoi:fix-115599, r=oli-obk 2023-10-15 21:29:07 +02:00
check_unsafety.rs Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstrieb 2023-10-15 13:23:55 +00:00
errors.rs Fix range overflow checking 2023-10-11 04:55:55 +02:00
lib.rs Make unconditional_recursion warning detect recursive drops 2023-07-22 14:04:45 +02:00
lints.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00