Rename rustc_mir_build::build to builder

This commit is contained in:
Zalathar
2024-12-16 12:44:54 +11:00
parent 6d9f6ae36a
commit bccbe70991
27 changed files with 53 additions and 53 deletions

View File

@@ -11,7 +11,7 @@
#![warn(unreachable_pub)]
// tidy-alphabetical-end
mod build;
mod builder;
mod check_tail_calls;
mod check_unsafety;
mod errors;
@@ -25,9 +25,9 @@ rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
pub fn provide(providers: &mut Providers) {
providers.check_match = thir::pattern::check_match;
providers.lit_to_const = thir::constant::lit_to_const;
providers.hooks.build_mir = build::mir_build;
providers.hooks.build_mir = builder::mir_build;
providers.closure_saved_names_of_captured_variables =
build::closure_saved_names_of_captured_variables;
builder::closure_saved_names_of_captured_variables;
providers.check_unsafety = check_unsafety::check_unsafety;
providers.check_tail_calls = check_tail_calls::check_tail_calls;
providers.thir_body = thir::cx::thir_body;