Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/lib.rs')
| -rw-r--r-- | crates/hir/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 4beb7e9033..1ba73c180c 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -2100,7 +2100,7 @@ impl DefWithBody { } } - if let Ok(borrowck_results) = db.borrowck(id.into()) { + if let Ok(borrowck_results) = InferBodyId::from(id).borrowck(db) { for borrowck_result in borrowck_results { let mir_body = borrowck_result.mir_body(db); for moof in &borrowck_result.moved_out_of_ref { |