diff options
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/Cargo.toml | 3 | ||||
-rw-r--r-- | crates/ide/src/diagnostics.rs | 2 |
2 files changed, 3 insertions, 2 deletions
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" | |||
10 | doctest = false | 10 | doctest = false |
11 | 11 | ||
12 | [dependencies] | 12 | [dependencies] |
13 | cov-mark = { version = "1.1", features = ["thread-local"] } | 13 | cov-mark = "2.0.0-pre.1" |
14 | either = "1.5.3" | 14 | either = "1.5.3" |
15 | indexmap = "1.4.0" | 15 | indexmap = "1.4.0" |
16 | itertools = "0.10.0" | 16 | itertools = "0.10.0" |
@@ -39,4 +39,3 @@ hir = { path = "../hir", version = "0.0.0" } | |||
39 | [dev-dependencies] | 39 | [dev-dependencies] |
40 | test_utils = { path = "../test_utils" } | 40 | test_utils = { path = "../test_utils" } |
41 | expect-test = "1.1" | 41 | expect-test = "1.1" |
42 | 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 { | |||
2571 | 2571 | ||
2572 | #[test] | 2572 | #[test] |
2573 | fn ignores_extern_items() { | 2573 | fn ignores_extern_items() { |
2574 | cov_mark::check!(extern_func_incorrect_case_ignored); | ||
2575 | cov_mark::check!(extern_static_incorrect_case_ignored); | ||
2574 | check_diagnostics( | 2576 | check_diagnostics( |
2575 | r#" | 2577 | r#" |
2576 | extern { | 2578 | extern { |