remove inherit_visibility test case in item_tree
This commit is contained in:
parent
ded412d56b
commit
070456838d
@ -358,40 +358,3 @@ trait Tr<'a, T: 'a>: Super where Self: for<'a> Tr<'a, 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<Self> {
|
|
||||||
// pub(crate) fn f() -> ();
|
|
||||||
|
|
||||||
// pub(crate) fn method(
|
|
||||||
// _: &Self, // self
|
|
||||||
// ) -> () { ... }
|
|
||||||
// }
|
|
||||||
// "#]],
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user