about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-06 07:38:38 +0000
committerbors <bors@rust-lang.org>2021-10-06 07:38:38 +0000
commit871b8b5d4c980462ad4b665ee17157de0fab9da2 (patch)
tree53e959f61b1693a7e466eb647f79a4f160ca1d03 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb9dedf395918275aa09710d2f51f62a1285bc035 (diff)
parentd9488c50ce64d09c6f598e4a3c7a5566faff3b11 (diff)
downloadrust-871b8b5d4c980462ad4b665ee17157de0fab9da2.tar.gz
rust-871b8b5d4c980462ad4b665ee17157de0fab9da2.zip
Auto merge of #7773 - Manishearth:update-lints-mods, r=flip1995
Move module declarations back into lib.rs

With #7673 we moved a lot of things from lib.rs to lib.foo.rs. Unfortunately, rustfmt doesn't seem to work when module declarations are included via `include!` (and trying the `mod foo; use foo::*;` trick doesn't seem to work much either in our specific case).

With this PR we continue generating everything in subfiles except for module declarations, which are now generated within lib.rs.

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions