aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-17 22:31:05 +0100
committerGitHub <[email protected]>2021-06-17 22:31:05 +0100
commit916384a1ea50323e8d44d8024ede1d39244fbb7c (patch)
tree76a5268851cf7b79447d5de79514c0d0b579e823 /crates/ide_db/src
parent9b013ffcae672595aeb1aee9de907e05fb7ca065 (diff)
parentebb591a5704f767d783d57af7022272f665318ac (diff)
Merge #9319
9319: internal: add derive and ord support to minicore r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r--crates/ide_db/src/helpers/famous_defs_fixture.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs
index fa4fc5307..6310fc0e1 100644
--- a/crates/ide_db/src/helpers/famous_defs_fixture.rs
+++ b/crates/ide_db/src/helpers/famous_defs_fixture.rs
@@ -1,15 +1,5 @@
1//- /libcore.rs crate:core 1//- /libcore.rs crate:core
2//! Signatures of traits, types and functions from the core lib for use in tests. 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 { 3pub mod prelude {
14 pub mod rust_2018 { 4 pub mod rust_2018 {
15 pub use crate::{ 5 pub use crate::{