Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/tests/special.rs')
| -rw-r--r-- | crates/ide-completion/src/tests/special.rs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/crates/ide-completion/src/tests/special.rs b/crates/ide-completion/src/tests/special.rs index fc59f781dd..ca779c2fc7 100644 --- a/crates/ide-completion/src/tests/special.rs +++ b/crates/ide-completion/src/tests/special.rs @@ -419,9 +419,9 @@ mod m { pub use super::p::WrongType as RightType; } mod p { - fn wrong_fn() {} - const WRONG_CONST: u32 = 1; - struct WrongType {}; + pub fn wrong_fn() {} + pub const WRONG_CONST: u32 = 1; + pub struct WrongType {}; } "#, expect![[r#" @@ -442,9 +442,9 @@ mod m { pub use super::p::WrongType as RightType; } mod p { - fn wrong_fn() {} - const WRONG_CONST: u32 = 1; - struct WrongType {}; + pub fn wrong_fn() {} + pub const WRONG_CONST: u32 = 1; + pub struct WrongType {}; } "#, r#" @@ -456,9 +456,9 @@ mod m { pub use super::p::WrongType as RightType; } mod p { - fn wrong_fn() {} - const WRONG_CONST: u32 = 1; - struct WrongType {}; + pub fn wrong_fn() {} + pub const WRONG_CONST: u32 = 1; + pub struct WrongType {}; } "#, ); @@ -627,7 +627,6 @@ fn main() { #[test] fn respects_doc_hidden2() { - cov_mark::check!(qualified_path_doc_hidden); check( r#" //- /lib.rs crate:lib deps:dep |