rust/compiler/rustc_mir_transform/src/coverage/spans
Jonathan Conder 25d183057e coverage: Treat await similar to a macro
Currently `await` is only counted towards coverage if the containing
function is suspended and resumed at least once. This is because it
expands to code which contains a branch on the discriminant of `Poll`.

By treating it like a branching macro (e.g. `assert!`), these
implementation details will be hidden from the coverage results.
2024-09-06 17:01:59 +12:00
..
from_mir.rs coverage: Treat await similar to a macro 2024-09-06 17:01:59 +12:00