summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/mulit-file.rs
blob: 1f829b36f3f000d0dab47ab3f3fe735b1c7e427d (plain)
1
2
3
4
5
6
7
8
9
10
// 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;