Skip to content

Commit 6af1afe

Browse files
committed
Explain why build was renamed to builder
1 parent 3ed7afe commit 6af1afe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

compiler/rustc_mir_build/src/builder/mod.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
//! This module used to be named `build`, but that was causing GitHub's
2+
//! "Go to file" feature to silently ignore all files in the module, probably
3+
//! because it assumes that "build" is a build-output directory.
4+
//! See <https://github.com/rust-lang/rust/pull/134365>.
5+
16
use itertools::Itertools;
27
use rustc_abi::{ExternAbi, FieldIdx};
38
use rustc_apfloat::Float;

compiler/rustc_mir_build/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#![warn(unreachable_pub)]
1212
// tidy-alphabetical-end
1313

14+
// The `builder` module used to be named `build`, but that was causing GitHub's
15+
// "Go to file" feature to silently ignore all files in the module, probably
16+
// because it assumes that "build" is a build-output directory. See #134365.
1417
mod builder;
1518
mod check_tail_calls;
1619
mod check_unsafety;

0 commit comments

Comments
 (0)