internal: check that coverage marks are always paired

This commit is contained in:
Aleksey Kladov 2021-06-13 12:33:08 +03:00
parent 0eafc88079
commit 546be18e3a
3 changed files with 54 additions and 6 deletions

View file

@ -1007,6 +1007,7 @@ fn go(world: &WorldSnapshot) { go(w$0) }
#[test]
fn too_many_arguments() {
cov_mark::check!(too_many_arguments);
check_relevance(
r#"
struct Foo;