2020-03-08 22:48:24 +01:00
|
|
|
// Expansion drives parsing, so conditional compilation will strip
|
|
|
|
|
// out outline modules and we will never attempt parsing them.
|
|
|
|
|
|
|
|
|
|
//@ check-pass
|
|
|
|
|
|
|
|
|
|
fn main() {}
|
|
|
|
|
|
2025-03-29 17:24:03 +00:00
|
|
|
#[cfg(false)]
|
2020-03-08 22:48:24 +01:00
|
|
|
mod foo {
|
|
|
|
|
mod bar {
|
|
|
|
|
mod baz; // This was an error before.
|
|
|
|
|
}
|
|
|
|
|
}
|