Skip to content

Commit 65d7e69

Browse files
committed
Remove the mod llvm_ hack, which should no longer be necessary
1 parent 6741521 commit 65d7e69

File tree

1 file changed

+3
-8
lines changed
  • compiler/rustc_codegen_llvm/src

1 file changed

+3
-8
lines changed

Diff for: compiler/rustc_codegen_llvm/src/lib.rs

+3-8
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,9 @@ mod debuginfo;
7171
mod declare;
7272
mod errors;
7373
mod intrinsic;
74-
75-
// The following is a workaround that replaces `pub mod llvm;` and that fixes issue 53912.
76-
#[path = "llvm/mod.rs"]
77-
mod llvm_;
78-
pub mod llvm {
79-
pub use super::llvm_::*;
80-
}
81-
74+
// FIXME(Zalathar): Fix all the unreachable-pub warnings that would occur if
75+
// this isn't pub, then make it not pub.
76+
pub mod llvm;
8277
mod llvm_util;
8378
mod mono_item;
8479
mod type_;

0 commit comments

Comments
 (0)