diff --git a/src/lib.rs b/src/lib.rs index c1db1d73..4b6efd9c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -211,3 +211,12 @@ pub enum HttpError { HttpIoError(IoError), } +//FIXME: when Opt-in Built-in Types becomes a thing, we can force these structs +//to be Send. For now, this has the compiler do a static check. +fn _assert_send() { + _assert_send::>(); + _assert_send::(); + + _assert_send::(); + _assert_send::>(); +}