blob: f300e02932b730492f7b82de1f2d89d81e584315 [file] [log] [blame] [edit]
//@ check-pass
#![deny(unused_attributes)] // c.f #35584
mod auxiliary {
#[cfg_attr(false, path = "nonexistent_file.rs")] pub mod namespaced_enums;
#[cfg_attr(true, path = "namespaced_enums.rs")] pub mod nonexistent_file;
}
fn main() {
let _ = auxiliary::namespaced_enums::Foo::A;
let _ = auxiliary::nonexistent_file::Foo::A;
}