Make thir_tree and thir_flat into hooks

This commit is contained in:
Michael Goulet
2024-04-15 20:08:21 -04:00
parent ccfcd950b3
commit 81bf9ae263
4 changed files with 14 additions and 21 deletions

View File

@@ -34,6 +34,6 @@ pub fn provide(providers: &mut Providers) {
build::closure_saved_names_of_captured_variables;
providers.check_unsafety = check_unsafety::check_unsafety;
providers.thir_body = thir::cx::thir_body;
providers.thir_tree = thir::print::thir_tree;
providers.thir_flat = thir::print::thir_flat;
providers.hooks.thir_tree = thir::print::thir_tree;
providers.hooks.thir_flat = thir::print::thir_flat;
}