Add a test for #2125
This commit is contained in:
parent
036917b691
commit
bbfdb12c3e
2 changed files with 8 additions and 0 deletions
|
@ -266,3 +266,6 @@ pub(crate) struct Foo{}
|
||||||
pub(in self) struct Foo();
|
pub(in self) struct Foo();
|
||||||
pub(super) struct Foo();
|
pub(super) struct Foo();
|
||||||
pub(crate) struct Foo();
|
pub(crate) struct Foo();
|
||||||
|
|
||||||
|
// #2125
|
||||||
|
pub struct ReadinessCheckRegistry(Mutex<HashMap<Arc<String>, Box<Fn() -> ReadinessCheck + Sync + Send>>>);
|
||||||
|
|
|
@ -308,3 +308,8 @@ pub(crate) struct Foo {}
|
||||||
pub(self) struct Foo();
|
pub(self) struct Foo();
|
||||||
pub(super) struct Foo();
|
pub(super) struct Foo();
|
||||||
pub(crate) struct Foo();
|
pub(crate) struct Foo();
|
||||||
|
|
||||||
|
// #2125
|
||||||
|
pub struct ReadinessCheckRegistry(
|
||||||
|
Mutex<HashMap<Arc<String>, Box<Fn() -> ReadinessCheck + Sync + Send>>>,
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in a new issue