diff options
author | Aleksey Kladov <[email protected]> | 2021-06-17 09:42:43 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-17 09:42:43 +0100 |
commit | ac35645455f9ccdf3019d3c272a1790673cb81fd (patch) | |
tree | 4198286d6c63b03fc3172c70dee6c4575ddb7f12 /crates/ide_db | |
parent | a43bba760ef424f5c849666949b4323f090b6970 (diff) |
internal: remove dead code
Diffstat (limited to 'crates/ide_db')
-rw-r--r-- | crates/ide_db/src/helpers/famous_defs_fixture.rs | 24 |
1 files changed, 0 insertions, 24 deletions
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 { | |||
26 | } | 26 | } |
27 | } | 27 | } |
28 | 28 | ||
29 | pub mod ops { | ||
30 | #[lang = "fn"] | ||
31 | pub trait Fn<Args>: FnMut<Args> { | ||
32 | extern "rust-call" fn call(&self, args: Args) -> Self::Output; | ||
33 | } | ||
34 | |||
35 | #[lang = "fn_mut"] | ||
36 | pub trait FnMut<Args>: FnOnce<Args> { | ||
37 | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; | ||
38 | } | ||
39 | #[lang = "fn_once"] | ||
40 | pub trait FnOnce<Args> { | ||
41 | #[lang = "fn_once_output"] | ||
42 | type Output; | ||
43 | extern "rust-call" fn call_once(self, args: Args) -> Self::Output; | ||
44 | } | ||
45 | |||
46 | #[lang = "deref"] | ||
47 | pub trait Deref { | ||
48 | type Target: ?Sized; | ||
49 | fn deref(&self) -> &Self::Target; | ||
50 | } | ||
51 | } | ||
52 | |||
53 | pub mod option { | 29 | pub mod option { |
54 | pub enum Option<T> { | 30 | pub enum Option<T> { |
55 | None, | 31 | None, |