Implement IntoResponse for (R,) where R: IntoResponse (#2143)

This commit is contained in:
David Pedersen
2023-08-03 18:15:06 +00:00
committed by GitHub
parent 432289dd04
commit cc611b8b24
3 changed files with 13 additions and 1 deletions
@@ -9,10 +9,10 @@ error[E0277]: the trait bound `bool: IntoResponse` is not satisfied
&'static [u8]
&'static str
()
(R,)
(Response<()>, R)
(Response<()>, T1, R)
(Response<()>, T1, T2, R)
(Response<()>, T1, T2, T3, R)
and $N others
note: required by a bound in `__axum_macros_check_handler_into_response::{closure#0}::check`
--> tests/debug_handler/fail/wrong_return_type.rs:4:23