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.
9 lines
297 B
Rust
9 lines
297 B
Rust
mod alignment;
|
|
mod check_validity_requirement;
|
|
mod compare_types;
|
|
mod type_name;
|
|
|
|
pub use self::alignment::is_disaligned;
|
|
pub use self::check_validity_requirement::check_validity_requirement;
|
|
pub use self::compare_types::{is_equal_up_to_subtyping, is_subtype};
|
|
pub use self::type_name::type_name;
|