diff --git a/tests/source/structs.rs b/tests/source/structs.rs index acae17befdd4..6dfb565e80bf 100644 --- a/tests/source/structs.rs +++ b/tests/source/structs.rs @@ -266,3 +266,6 @@ pub(crate) struct Foo{} pub(in self) struct Foo(); pub(super) struct Foo(); pub(crate) struct Foo(); + +// #2125 +pub struct ReadinessCheckRegistry(Mutex, Box ReadinessCheck + Sync + Send>>>); diff --git a/tests/target/structs.rs b/tests/target/structs.rs index e29647c71fbb..1628c96f5552 100644 --- a/tests/target/structs.rs +++ b/tests/target/structs.rs @@ -308,3 +308,8 @@ pub(crate) struct Foo {} pub(self) struct Foo(); pub(super) struct Foo(); pub(crate) struct Foo(); + +// #2125 +pub struct ReadinessCheckRegistry( + Mutex, Box ReadinessCheck + Sync + Send>>>, +);