mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-19 19:40:36 +00:00

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.