Support passing MethodRouter to Router::fallback (#1730)

This commit is contained in:
David Pedersen
2023-02-11 23:11:55 +01:00
committed by GitHub
parent b4204e223d
commit 0ecf5eeb19
10 changed files with 127 additions and 61 deletions
@@ -13,7 +13,7 @@ error[E0277]: the trait bound `bool: IntoResponse` is not satisfied
(Response<()>, T1, R)
(Response<()>, T1, T2, R)
(Response<()>, T1, T2, T3, R)
and $N others
and 124 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
|