From ac35645455f9ccdf3019d3c272a1790673cb81fd Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 17 Jun 2021 11:42:43 +0300 Subject: internal: remove dead code --- crates/ide_db/src/helpers/famous_defs_fixture.rs | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'crates/ide_db/src/helpers') diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs index 5aa77a24d..551203936 100644 --- a/crates/ide_db/src/helpers/famous_defs_fixture.rs +++ b/crates/ide_db/src/helpers/famous_defs_fixture.rs @@ -26,30 +26,6 @@ pub mod default { } } -pub mod ops { - #[lang = "fn"] - pub trait Fn: FnMut { - extern "rust-call" fn call(&self, args: Args) -> Self::Output; - } - - #[lang = "fn_mut"] - pub trait FnMut: FnOnce { - extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; - } - #[lang = "fn_once"] - pub trait FnOnce { - #[lang = "fn_once_output"] - type Output; - extern "rust-call" fn call_once(self, args: Args) -> Self::Output; - } - - #[lang = "deref"] - pub trait Deref { - type Target: ?Sized; - fn deref(&self) -> &Self::Target; - } -} - pub mod option { pub enum Option { None, -- cgit v1.2.3