Remove the thir_{tree,flat} hooks.
They were downgraded from queries in #123995 but they can just be vanilla functions because they are not called in `rustc_middle`.
This commit is contained in:
@@ -18,7 +18,7 @@ mod builder;
|
||||
mod check_tail_calls;
|
||||
mod check_unsafety;
|
||||
mod errors;
|
||||
mod thir;
|
||||
pub mod thir;
|
||||
|
||||
use rustc_middle::util::Providers;
|
||||
|
||||
@@ -33,6 +33,4 @@ pub fn provide(providers: &mut Providers) {
|
||||
providers.check_unsafety = check_unsafety::check_unsafety;
|
||||
providers.check_tail_calls = check_tail_calls::check_tail_calls;
|
||||
providers.thir_body = thir::cx::thir_body;
|
||||
providers.hooks.thir_tree = thir::print::thir_tree;
|
||||
providers.hooks.thir_flat = thir::print::thir_flat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user