about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/util/mod.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-10-31 12:41:50 +0100
committerlcnr <rust@lcnr.de>2024-10-31 14:55:53 +0100
commit2cde638ac0b8f2fd1b7ad29606a1a406b276482a (patch)
treee57f5c58eb655b404ed18a5e58daff11e58deef2 /compiler/rustc_const_eval/src/util/mod.rs
parent563c473e8d23cc6ebbe501d30749ee4225efa1e6 (diff)
downloadrust-2cde638ac0b8f2fd1b7ad29606a1a406b276482a.tar.gz
rust-2cde638ac0b8f2fd1b7ad29606a1a406b276482a.zip
stop using `ParamEnv::reveal` while handling MIR
Diffstat (limited to 'compiler/rustc_const_eval/src/util/mod.rs')
-rw-r--r--compiler/rustc_const_eval/src/util/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/util/mod.rs b/compiler/rustc_const_eval/src/util/mod.rs
index 66a1addfb52..25a9dbb2c11 100644
--- a/compiler/rustc_const_eval/src/util/mod.rs
+++ b/compiler/rustc_const_eval/src/util/mod.rs
@@ -8,7 +8,7 @@ mod type_name;
 
 pub use self::alignment::{is_disaligned, is_within_packed};
 pub use self::check_validity_requirement::check_validity_requirement;
-pub use self::compare_types::{is_equal_up_to_subtyping, relate_types};
+pub use self::compare_types::{relate_types, sub_types};
 pub use self::type_name::type_name;
 
 /// Classify whether an operator is "left-homogeneous", i.e., the LHS has the