blob: af8534bd73ce367118dd2bcf66a301cf35538dec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
fn assert_send_sync<T: Send + Sync>() {}
#[test]
fn test() {
assert_send_sync::<semver::BuildMetadata>();
assert_send_sync::<semver::Comparator>();
assert_send_sync::<semver::Error>();
assert_send_sync::<semver::Prerelease>();
assert_send_sync::<semver::Version>();
assert_send_sync::<semver::VersionReq>();
assert_send_sync::<semver::Op>();
}
|