Skip to content

Commit 0704568

Browse files
committed
remove inherit_visibility test case in item_tree
1 parent ded412d commit 0704568

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

crates/hir-def/src/item_tree/tests.rs

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -358,40 +358,3 @@ trait Tr<'a, T: 'a>: Super where Self: for<'a> Tr<'a, T> {}
358358
"#]],
359359
)
360360
}
361-
362-
// #[test]
363-
// fn inherit_visibility() {
364-
// check(
365-
// r#"
366-
// pub(crate) enum En {
367-
// Var1(u8),
368-
// Var2 {
369-
// fld: u8,
370-
// },
371-
// }
372-
373-
// pub(crate) trait Tr {
374-
// fn f();
375-
// fn method(&self) {}
376-
// }
377-
// "#,
378-
// expect![[r#"
379-
// pub(crate) enum En {
380-
// Var1(
381-
// pub(crate) 0: u8,
382-
// ),
383-
// Var2 {
384-
// pub(crate) fld: u8,
385-
// },
386-
// }
387-
388-
// pub(crate) trait Tr<Self> {
389-
// pub(crate) fn f() -> ();
390-
391-
// pub(crate) fn method(
392-
// _: &Self, // self
393-
// ) -> () { ... }
394-
// }
395-
// "#]],
396-
// )
397-
// }

0 commit comments

Comments
 (0)