about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/util/mod.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-04-16 12:03:39 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-04-16 12:05:54 +0200
commit2109fe4e4e3cd8b81a4f91fab8be9a30f2eee8bc (patch)
tree8429d0a691d50b27118f2976de1f9b036bfae834 /compiler/rustc_const_eval/src/util/mod.rs
parente6e956dade79bdc084dfe3078abab24656a1b483 (diff)
downloadrust-2109fe4e4e3cd8b81a4f91fab8be9a30f2eee8bc.tar.gz
rust-2109fe4e4e3cd8b81a4f91fab8be9a30f2eee8bc.zip
Move some utils out of `rustc_const_eval`
This allows us to get rid of the `rustc_const_eval->rustc_borrowck`
dependency edge which was delaying the compilation of borrowck.

The added utils in `rustc_middle` are small and should not affect
compile times there.
Diffstat (limited to 'compiler/rustc_const_eval/src/util/mod.rs')
-rw-r--r--compiler/rustc_const_eval/src/util/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_const_eval/src/util/mod.rs b/compiler/rustc_const_eval/src/util/mod.rs
index c0aabd77cee..7641f560714 100644
--- a/compiler/rustc_const_eval/src/util/mod.rs
+++ b/compiler/rustc_const_eval/src/util/mod.rs
@@ -1,14 +1,9 @@
 mod alignment;
-mod call_kind;
 mod check_validity_requirement;
-pub mod collect_writes;
 mod compare_types;
-mod find_self_call;
 mod type_name;
 
 pub use self::alignment::is_disaligned;
-pub use self::call_kind::{call_kind, CallDesugaringKind, CallKind};
 pub use self::check_validity_requirement::check_validity_requirement;
 pub use self::compare_types::{is_equal_up_to_subtyping, is_subtype};
-pub use self::find_self_call::find_self_call;
 pub use self::type_name::type_name;