rust/tests/target/mulit-file.rs

11 lines
196 B
Rust
Raw Normal View History

// Tests that where a single file is referred to in multiple places, we don't
// crash.
#[cfg(all(foo))]
#[path = "closure.rs"]
pub mod imp;
#[cfg(all(bar))]
#[path = "closure.rs"]
pub mod imp;