diff options
Diffstat (limited to 'tests/incremental/span_hash_stable/auxiliary')
-rw-r--r-- | tests/incremental/span_hash_stable/auxiliary/mod.rs | 7 | ||||
-rw-r--r-- | tests/incremental/span_hash_stable/auxiliary/sub1.rs | 5 | ||||
-rw-r--r-- | tests/incremental/span_hash_stable/auxiliary/sub2.rs | 5 |
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/incremental/span_hash_stable/auxiliary/mod.rs b/tests/incremental/span_hash_stable/auxiliary/mod.rs new file mode 100644 index 000000000..f3824db4c --- /dev/null +++ b/tests/incremental/span_hash_stable/auxiliary/mod.rs @@ -0,0 +1,7 @@ +#[cfg(rpass1)] +pub mod sub2; + +pub mod sub1; + +#[cfg(rpass2)] +pub mod sub2; diff --git a/tests/incremental/span_hash_stable/auxiliary/sub1.rs b/tests/incremental/span_hash_stable/auxiliary/sub1.rs new file mode 100644 index 000000000..70e2ea06b --- /dev/null +++ b/tests/incremental/span_hash_stable/auxiliary/sub1.rs @@ -0,0 +1,5 @@ +#[rustc_clean(cfg="rpass2")] +pub struct SomeType { + pub x: u32, + pub y: i64, +} diff --git a/tests/incremental/span_hash_stable/auxiliary/sub2.rs b/tests/incremental/span_hash_stable/auxiliary/sub2.rs new file mode 100644 index 000000000..1167cdb0a --- /dev/null +++ b/tests/incremental/span_hash_stable/auxiliary/sub2.rs @@ -0,0 +1,5 @@ +#[rustc_clean(cfg="rpass2")] +pub struct SomeOtherType { + pub a: i32, + pub b: u64, +} |