blob: 5d16689129499500828ff51438da08aadf36d451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#![allow(clippy::extra_unused_type_parameters)]
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>();
}
|