aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-17 09:42:43 +0100
committerAleksey Kladov <[email protected]>2021-06-17 09:42:43 +0100
commitac35645455f9ccdf3019d3c272a1790673cb81fd (patch)
tree4198286d6c63b03fc3172c70dee6c4575ddb7f12 /crates
parenta43bba760ef424f5c849666949b4323f090b6970 (diff)
internal: remove dead code
Diffstat (limited to 'crates')
-rw-r--r--crates/ide_db/src/helpers/famous_defs_fixture.rs24
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
29pub 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
53pub mod option { 29pub mod option {
54 pub enum Option<T> { 30 pub enum Option<T> {
55 None, 31 None,