aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/helpers/famous_defs_fixture.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_db/src/helpers/famous_defs_fixture.rs')
-rw-r--r--crates/ide_db/src/helpers/famous_defs_fixture.rs36
1 files changed, 0 insertions, 36 deletions
diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs
deleted file mode 100644
index fa4fc5307..000000000
--- a/crates/ide_db/src/helpers/famous_defs_fixture.rs
+++ /dev/null
@@ -1,36 +0,0 @@
1//- /libcore.rs crate:core
2//! Signatures of traits, types and functions from the core lib for use in tests.
3pub mod cmp {
4
5 pub trait Ord {
6 fn cmp(&self, other: &Self) -> Ordering;
7 fn max(self, other: Self) -> Self;
8 fn min(self, other: Self) -> Self;
9 fn clamp(self, min: Self, max: Self) -> Self;
10 }
11}
12
13pub mod prelude {
14 pub mod rust_2018 {
15 pub use crate::{
16 cmp::Ord,
17 convert::{From, Into},
18 default::Default,
19 iter::{IntoIterator, Iterator},
20 ops::{Fn, FnMut, FnOnce},
21 option::Option::{self, *},
22 };
23 }
24}
25#[prelude_import]
26pub use prelude::rust_2018::*;
27//- /libstd.rs crate:std deps:core
28//! Signatures of traits, types and functions from the std lib for use in tests.
29
30/// Docs for return_keyword
31mod return_keyword {}
32
33/// Docs for prim_str
34mod prim_str {}
35
36pub use core::ops;