]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/cfg_mod/mod.rs
Rollup merge of #85409 - CDirkx:cfg_redox, r=nagisa
[rust.git] / src / tools / rustfmt / tests / target / cfg_mod / mod.rs
1 #[cfg_attr(feature = "foo", path = "foo.rs")]
2 #[cfg_attr(not(feture = "foo"), path = "bar.rs")]
3 mod sub_mod;
4
5 #[cfg_attr(target_arch = "wasm32", path = "dir/dir1/dir2/wasm32.rs")]
6 #[cfg_attr(not(target_arch = "wasm32"), path = "dir/dir1/dir3/wasm32.rs")]
7 mod wasm32;
8
9 #[some_attr(path = "somewhere.rs")]
10 mod other;