diff options
| author | ouz-a <ouz.agz@gmail.com> | 2023-09-30 13:44:31 +0300 |
|---|---|---|
| committer | ouz-a <ouz.agz@gmail.com> | 2023-10-02 23:39:45 +0300 |
| commit | 6f0c5ee2d4c9ced0fa9d0e698b6a136cfdc51949 (patch) | |
| tree | 05afaa338500fa567cd03f17f45e5e77b483252a /compiler/rustc_const_eval/src/util/mod.rs | |
| parent | cd7f47193182d1d557a83593bcff6afe0568fc53 (diff) | |
| download | rust-6f0c5ee2d4c9ced0fa9d0e698b6a136cfdc51949.tar.gz rust-6f0c5ee2d4c9ced0fa9d0e698b6a136cfdc51949.zip | |
change is_subtype to relate_types
Diffstat (limited to 'compiler/rustc_const_eval/src/util/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/util/mod.rs | 2 |
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 0aef7fa469e..040b3071e6f 100644 --- a/compiler/rustc_const_eval/src/util/mod.rs +++ b/compiler/rustc_const_eval/src/util/mod.rs @@ -7,7 +7,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, is_subtype}; +pub use self::compare_types::{is_equal_up_to_subtyping, relate_types}; pub use self::type_name::type_name; /// Classify whether an operator is "left-homogeneous", i.e., the LHS has the |
