From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/incremental/span_hash_stable/auxiliary/mod.rs | 7 +++++++ tests/incremental/span_hash_stable/auxiliary/sub1.rs | 5 +++++ tests/incremental/span_hash_stable/auxiliary/sub2.rs | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 tests/incremental/span_hash_stable/auxiliary/mod.rs create mode 100644 tests/incremental/span_hash_stable/auxiliary/sub1.rs create mode 100644 tests/incremental/span_hash_stable/auxiliary/sub2.rs (limited to 'tests/incremental/span_hash_stable/auxiliary') 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, +} -- cgit v1.2.3