diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-12-16 12:44:54 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-12-17 11:41:11 +1100 |
| commit | bccbe70991775218b4dd2d31919558109e8cc66f (patch) | |
| tree | cfdb563c42b359a6fac979d09e0b25414f0aae4d /compiler/rustc_mir_build/src/lib.rs | |
| parent | 6d9f6ae36ae1299d6126ba40c15191f7aa3b79d8 (diff) | |
| download | rust-bccbe70991775218b4dd2d31919558109e8cc66f.tar.gz rust-bccbe70991775218b4dd2d31919558109e8cc66f.zip | |
Rename `rustc_mir_build::build` to `builder`
Diffstat (limited to 'compiler/rustc_mir_build/src/lib.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_mir_build/src/lib.rs b/compiler/rustc_mir_build/src/lib.rs index 833e5019865..23a1281c1ef 100644 --- a/compiler/rustc_mir_build/src/lib.rs +++ b/compiler/rustc_mir_build/src/lib.rs @@ -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; |
