chore(warnings): Allow direct recursion for type enforcement.
This commit is contained in:
committed by
Sean McArthur
parent
0a92e0d671
commit
1ebbdedd13
@@ -245,6 +245,7 @@ impl FromError<url::ParseError> for HttpError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unconditional_recursion)]
|
||||||
fn _assert_send<T: Send>() {
|
fn _assert_send<T: Send>() {
|
||||||
_assert_send::<client::Request<net::Fresh>>();
|
_assert_send::<client::Request<net::Fresh>>();
|
||||||
_assert_send::<client::Response>();
|
_assert_send::<client::Response>();
|
||||||
|
|||||||
Reference in New Issue
Block a user