diff --git a/quinn-proto/src/tests/mod.rs b/quinn-proto/src/tests/mod.rs index e631003f00..62b553936c 100644 --- a/quinn-proto/src/tests/mod.rs +++ b/quinn-proto/src/tests/mod.rs @@ -2828,3 +2828,10 @@ fn reject_manually() { }) if close.error_code == TransportErrorCode::CONNECTION_REFUSED )); } + +#[test] +fn endpoint_and_connection_impl_send_sync() { + const fn is_send_sync() {} + is_send_sync::(); + is_send_sync::(); +}