Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
parser
/
stripped-nested-outline-mod-pass.rs
blob: 166a60f257a3325f6e7a50f7d6f916460a0794c3 [
file
] [
log
] [
blame
]
// Expansion drives parsing, so conditional compilation will strip
// out outline modules and we will never attempt parsing them.
//@ check-pass
fn
main
()
{}
#[
cfg
(
false
)]
mod
foo
{
mod
bar
{
mod
baz
;
// This was an error before.
}
}