aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_db/src')
-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,