mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
fixes broken tests
This commit is contained in:
parent
7b952cb1aa
commit
c3ad945d9b
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
```
|
||||
"#]],
|
||||
"#]],
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue