aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-13 12:56:15 +0100
committerGitHub <[email protected]>2021-06-13 12:56:15 +0100
commit3f53a5dd724cbc7aa20280cddba44c7d2c0c8a6d (patch)
tree3fd67414030c11e80b3aaac6096a8dcce4fe00d0 /crates/hir_def
parentbe9742809c80fbb86b1a25479a4cf2a0df24adb7 (diff)
parentefa069d28818dd074afd2c7cee776907b63ca012 (diff)
Merge #9245
9245: internal: start new diagnostics API r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/hir_def')
-rw-r--r--crates/hir_def/src/nameres/tests/diagnostics.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/crates/hir_def/src/nameres/tests/diagnostics.rs b/crates/hir_def/src/nameres/tests/diagnostics.rs
index ec6670952..c82deca9c 100644
--- a/crates/hir_def/src/nameres/tests/diagnostics.rs
+++ b/crates/hir_def/src/nameres/tests/diagnostics.rs
@@ -79,20 +79,6 @@ fn dedup_unresolved_import_from_unresolved_crate() {
79} 79}
80 80
81#[test] 81#[test]
82fn unresolved_module() {
83 check_diagnostics(
84 r"
85 //- /lib.rs
86 mod foo;
87 mod bar;
88 //^^^^^^^^ UnresolvedModule
89 mod baz {}
90 //- /foo.rs
91 ",
92 );
93}
94
95#[test]
96fn inactive_item() { 82fn inactive_item() {
97 // Additional tests in `cfg` crate. This only tests disabled cfgs. 83 // Additional tests in `cfg` crate. This only tests disabled cfgs.
98 84