mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 10:04:23 +00:00
11 lines
196 B
Rust
11 lines
196 B
Rust
|
// 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;
|