From 0463d76a1f7370ea113bbf252281402fabc2a02b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 12 Jun 2021 23:39:57 +0300 Subject: internal: cross-crate cov-marks --- crates/ide/Cargo.toml | 3 +-- crates/ide/src/diagnostics.rs | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/ide') diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index 88f3d09d3..f12928225 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -10,7 +10,7 @@ edition = "2018" doctest = false [dependencies] -cov-mark = { version = "1.1", features = ["thread-local"] } +cov-mark = "2.0.0-pre.1" either = "1.5.3" indexmap = "1.4.0" itertools = "0.10.0" @@ -39,4 +39,3 @@ hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] test_utils = { path = "../test_utils" } expect-test = "1.1" -cov-mark = "1.1.0" diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs index e34341631..4193aabf5 100644 --- a/crates/ide/src/diagnostics.rs +++ b/crates/ide/src/diagnostics.rs @@ -2571,6 +2571,8 @@ trait BAD_TRAIT { #[test] fn ignores_extern_items() { + cov_mark::check!(extern_func_incorrect_case_ignored); + cov_mark::check!(extern_static_incorrect_case_ignored); check_diagnostics( r#" extern { -- cgit v1.2.3