Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/hover/tests.rs')
-rw-r--r--crates/ide/src/hover/tests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide/src/hover/tests.rs b/crates/ide/src/hover/tests.rs
index f1d7d2791d..28dd2afa02 100644
--- a/crates/ide/src/hover/tests.rs
+++ b/crates/ide/src/hover/tests.rs
@@ -823,10 +823,10 @@ fn test_hover_infer_associated_method_exact() {
check(
r#"
mod wrapper {
- struct Thing { x: u32 }
+ pub struct Thing { x: u32 }
impl Thing {
- fn new() -> Thing { Thing { x: 0 } }
+ pub fn new() -> Thing { Thing { x: 0 } }
}
}
@@ -840,9 +840,9 @@ fn main() { let foo_test = wrapper::Thing::new$0(); }
```
```rust
- fn new() -> Thing
+ pub fn new() -> Thing
```
- "#]],
+ "#]],
)
}