aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-19 16:51:48 +0000
committerAleksey Kladov <[email protected]>2019-02-19 17:06:53 +0000
commit9738fb48a68bee087e441f09edfc56bdbd827f35 (patch)
treec9d87fbdfce3b14c6b75398938790d7966913f34 /crates/ra_hir/src/nameres
parent4142a3adc6b86834540c09babadb2b872fdd3424 (diff)
remove ignored macro tests
we need to significantly reengineer macros, so the tests as they exist are useless
Diffstat (limited to 'crates/ra_hir/src/nameres')
-rw-r--r--crates/ra_hir/src/nameres/tests.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/crates/ra_hir/src/nameres/tests.rs b/crates/ra_hir/src/nameres/tests.rs
index 6402c89c0..9b151bb0c 100644
--- a/crates/ra_hir/src/nameres/tests.rs
+++ b/crates/ra_hir/src/nameres/tests.rs
@@ -402,36 +402,6 @@ fn name_res_works_for_broken_modules() {
402} 402}
403 403
404#[test] 404#[test]
405#[ignore]
406fn item_map_contains_items_from_expansions() {
407 let (item_map, module_id) = item_map(
408 "
409 //- /lib.rs
410 mod foo;
411
412 use crate::foo::bar::Baz;
413 <|>
414
415 //- /foo/mod.rs
416 pub mod bar;
417
418 //- /foo/bar.rs
419 salsa::query_group! {
420 trait Baz {}
421 }
422 ",
423 );
424 check_module_item_map(
425 &item_map,
426 module_id,
427 "
428 Baz: t
429 foo: t
430 ",
431 );
432}
433
434#[test]
435fn item_map_using_self() { 405fn item_map_using_self() {
436 let (item_map, module_id) = item_map( 406 let (item_map, module_id) = item_map(
437 " 407 "