aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/helpers/famous_defs_fixture.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-17 19:04:38 +0100
committerGitHub <[email protected]>2021-06-17 19:04:38 +0100
commit84507a0b9c2e8f6e632ad9ec649cd1f21a7e0887 (patch)
tree0c7bf1f81bd6c6b9b57d0c34acc6dfd16af0b23a /crates/ide_db/src/helpers/famous_defs_fixture.rs
parent53d26164c6608fd5149180c91fa49c7cde79706f (diff)
parentca99aaa053c7915633a1b2dadd40ad0deb3a3ac3 (diff)
Merge #9317
9317: internal: add From to minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide_db/src/helpers/famous_defs_fixture.rs')
-rw-r--r--crates/ide_db/src/helpers/famous_defs_fixture.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs
index 5e0d514cf..fa4fc5307 100644
--- a/crates/ide_db/src/helpers/famous_defs_fixture.rs
+++ b/crates/ide_db/src/helpers/famous_defs_fixture.rs
@@ -10,23 +10,6 @@ pub mod cmp {
10 } 10 }
11} 11}
12 12
13pub mod convert {
14 pub trait From<T> {
15 fn from(t: T) -> Self;
16 }
17
18 pub trait Into<T> {
19 pub fn into(self) -> T;
20 }
21}
22
23pub mod option {
24 pub enum Option<T> {
25 None,
26 Some(T),
27 }
28}
29
30pub mod prelude { 13pub mod prelude {
31 pub mod rust_2018 { 14 pub mod rust_2018 {
32 pub use crate::{ 15 pub use crate::{