aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/nameres/tests
diff options
context:
space:
mode:
authorkazatsuyu <[email protected]>2021-01-22 15:11:37 +0000
committerkazatsuyu <[email protected]>2021-01-22 15:11:37 +0000
commit90d6740e3237e396f437619d115b8595d2242392 (patch)
tree0d20ccc85a829096fcda8300d4b2aa4998ccf337 /crates/hir_def/src/nameres/tests
parent0fb4544403f67fd4f9046532cff70f776d5ba562 (diff)
Add mark::check! and mark::hit!
Diffstat (limited to 'crates/hir_def/src/nameres/tests')
-rw-r--r--crates/hir_def/src/nameres/tests/diagnostics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_def/src/nameres/tests/diagnostics.rs b/crates/hir_def/src/nameres/tests/diagnostics.rs
index 679a505dc..e8e72e5ef 100644
--- a/crates/hir_def/src/nameres/tests/diagnostics.rs
+++ b/crates/hir_def/src/nameres/tests/diagnostics.rs
@@ -63,6 +63,7 @@ fn unresolved_extern_crate() {
63 63
64#[test] 64#[test]
65fn extern_crate_self_as() { 65fn extern_crate_self_as() {
66 mark::check!(extern_crate_self_as);
66 check_diagnostics( 67 check_diagnostics(
67 r" 68 r"
68 //- /lib.rs 69 //- /lib.rs