Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/db.rs')
| -rw-r--r-- | crates/hir-ty/src/db.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/hir-ty/src/db.rs b/crates/hir-ty/src/db.rs index 028694cd94..c74ac51b61 100644 --- a/crates/hir-ty/src/db.rs +++ b/crates/hir-ty/src/db.rs @@ -27,7 +27,7 @@ use crate::{ dyn_compatibility::DynCompatibilityViolation, layout::{Layout, LayoutError}, lower::{GenericDefaults, TrackedStructToken, TypeAliasBounds}, - mir::{BorrowckResult, MirBody, MirLowerError}, + mir::{MirBody, MirLowerError}, next_solver::{ Allocation, Clause, EarlyBinder, GenericArgs, ParamEnv, PolyFnSig, StoredClauses, StoredEarlyBinder, StoredGenericArgs, StoredPolyFnSig, StoredTraitRef, StoredTy, TraitRef, @@ -73,11 +73,6 @@ pub trait HirDatabase: SourceDatabase + std::fmt::Debug { .map_err(|err| err.clone()) } - #[salsa::transparent] - fn borrowck(&self, def: InferBodyId) -> Result<&[BorrowckResult], MirLowerError> { - crate::mir::borrowck_query(self, def).map_err(|err| err.clone()) - } - #[salsa::invoke(crate::consteval::const_eval)] #[salsa::transparent] fn const_eval<'db>( |