Closed
Description
a.rs
:
// a.rs
mod b;
b.rs
:
// b.rs
fn b() { }
Expected output of rustc --pretty normal a.rs
:
// a.rs
mod b;
Actual output of rustc --pretty normal a.rs
:
// a.rs
mod b {
fn b() { }
}
Note the two problems here: (a) the module is inlined, and (b) the comment in the module is lost. But by fixing the first, the second becomes irrelevant.