Print `pub mod` declarations for all the files that will be generated for `items`.
(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter)
| 1142 | |
| 1143 | /// Print `pub mod` declarations for all the files that will be generated for `items`. |
| 1144 | fn print_module_decls(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter) { |
| 1145 | for module_name in iter_module_names(module, visibility) { |
| 1146 | writeln!(out, "pub mod {module_name};"); |
| 1147 | } |
| 1148 | } |
| 1149 | |
| 1150 | /// Print appropriate reexports for all the files that will be generated for `items`. |
| 1151 | fn print_module_reexports(module: &ModuleDef, visibility: CodegenVisibility, out: &mut Indenter) { |
no test coverage detected
searching dependent graphs…