1
Fork 0

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.
This commit is contained in:
Nilstrieb 2023-04-16 12:03:39 +02:00
parent e6e956dade
commit 2109fe4e4e
15 changed files with 30 additions and 25 deletions

View file

@ -99,13 +99,9 @@ pub mod mir;
pub mod thir;
pub mod traits;
pub mod ty;
pub mod util;
mod values;
pub mod util {
pub mod bug;
pub mod common;
}
// Allows macros to refer to this crate as `::rustc_middle`
extern crate self as rustc_middle;