mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
remove inherit_visibility test case in item_tree
This commit is contained in:
parent
ded412d56b
commit
070456838d
1 changed files with 0 additions and 37 deletions
|
@ -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…
Reference in a new issue