Skip to content

Commit 1ccb21a

Browse files
committed
feat: Implement inline callers assist
1 parent 13da3d9 commit 1ccb21a

File tree

4 files changed

+455
-140
lines changed

4 files changed

+455
-140
lines changed

crates/base_db/src/fixture.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ impl ChangeFixture {
161161
}
162162

163163
if crates.is_empty() {
164-
let crate_root = default_crate_root.unwrap();
164+
let crate_root = default_crate_root
165+
.expect("missing default crate root, specify a main.rs or lib.rs");
165166
crate_graph.add_crate_root(
166167
crate_root,
167168
Edition::CURRENT,

0 commit comments

Comments
 (0)