• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #![allow(clippy::extra_unused_type_parameters)]
2 
assert_send_sync<T: Send + Sync>()3 fn assert_send_sync<T: Send + Sync>() {}
4 
5 #[test]
test()6 fn test() {
7     assert_send_sync::<semver::BuildMetadata>();
8     assert_send_sync::<semver::Comparator>();
9     assert_send_sync::<semver::Error>();
10     assert_send_sync::<semver::Prerelease>();
11     assert_send_sync::<semver::Version>();
12     assert_send_sync::<semver::VersionReq>();
13     assert_send_sync::<semver::Op>();
14 }
15