Add a test for #2125

This commit is contained in:
topecongiro 2017-11-08 11:52:14 +09:00
parent 036917b691
commit bbfdb12c3e
2 changed files with 8 additions and 0 deletions

View file

@ -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<HashMap<Arc<String>, Box<Fn() -> ReadinessCheck + Sync + Send>>>);

View file

@ -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<HashMap<Arc<String>, Box<Fn() -> ReadinessCheck + Sync + Send>>>,
);