From 070456838da319ec73768edeff5df2a828abb869 Mon Sep 17 00:00:00 2001 From: Hongxu Xu Date: Tue, 14 Jun 2022 23:24:48 +0800 Subject: [PATCH] remove inherit_visibility test case in item_tree --- crates/hir-def/src/item_tree/tests.rs | 37 --------------------------- 1 file changed, 37 deletions(-) diff --git a/crates/hir-def/src/item_tree/tests.rs b/crates/hir-def/src/item_tree/tests.rs index bd7c9588b60..5cdf36cc61b 100644 --- a/crates/hir-def/src/item_tree/tests.rs +++ b/crates/hir-def/src/item_tree/tests.rs @@ -358,40 +358,3 @@ pub(self) trait Tr<'a, Self, T> "#]], ) } - -// #[test] -// fn inherit_visibility() { -// check( -// r#" -// pub(crate) enum En { -// Var1(u8), -// Var2 { -// fld: u8, -// }, -// } - -// pub(crate) trait Tr { -// fn f(); -// fn method(&self) {} -// } -// "#, -// expect![[r#" -// pub(crate) enum En { -// Var1( -// pub(crate) 0: u8, -// ), -// Var2 { -// pub(crate) fld: u8, -// }, -// } - -// pub(crate) trait Tr { -// pub(crate) fn f() -> (); - -// pub(crate) fn method( -// _: &Self, // self -// ) -> () { ... } -// } -// "#]], -// ) -// }