mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
feat: Implement inline callers assist
This commit is contained in:
parent
13da3d93f9
commit
1ccb21a0ca
4 changed files with 460 additions and 145 deletions
|
@ -161,7 +161,8 @@ impl ChangeFixture {
|
|||
}
|
||||
|
||||
if crates.is_empty() {
|
||||
let crate_root = default_crate_root.unwrap();
|
||||
let crate_root = default_crate_root
|
||||
.expect("missing default crate root, specify a main.rs or lib.rs");
|
||||
crate_graph.add_crate_root(
|
||||
crate_root,
|
||||
Edition::CURRENT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue