mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Jump to sourceChanges in other files
This commit is contained in:
parent
ba8faf3efc
commit
74780a15f6
3 changed files with 15 additions and 16 deletions
|
@ -907,23 +907,14 @@ mod foo;
|
|||
fn main() {
|
||||
foo::bar<|>()
|
||||
}
|
||||
|
||||
//- /foo.rs
|
||||
|
||||
",
|
||||
r"
|
||||
//- /main.rs
|
||||
mod foo;
|
||||
|
||||
fn main() {
|
||||
foo::bar()
|
||||
}
|
||||
|
||||
//- /foo.rs
|
||||
fn bar() {
|
||||
pub(crate) fn bar() {
|
||||
<|>todo!()
|
||||
}
|
||||
",
|
||||
}",
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue