Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base-db/src/lib.rs')
-rw-r--r--crates/base-db/src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/base-db/src/lib.rs b/crates/base-db/src/lib.rs
index 9fbeace76c..15ce934dc9 100644
--- a/crates/base-db/src/lib.rs
+++ b/crates/base-db/src/lib.rs
@@ -43,10 +43,6 @@ macro_rules! impl_intern_key {
};
}
-pub trait Upcast<T: ?Sized> {
- fn upcast(&self) -> &T;
-}
-
pub const DEFAULT_FILE_TEXT_LRU_CAP: u16 = 16;
pub const DEFAULT_PARSE_LRU_CAP: u16 = 128;
pub const DEFAULT_BORROWCK_LRU_CAP: u16 = 2024;