axum/axum-debug/tests/pass
David Pedersen 27e848fbe8
Fix #[debug_handler] for multiple extractors (#552)
* Fix `#[debug_handler]` for multiple extractors

It generated a function for each extractor to check the type but those
functions didn't have unique names.

Fixed by including all idents in the `arg: Extractor` token tree in the
name of the function generated. Not sure there is a simpler way to fix
it.

* just use a counter

* don't need visit feature anymore
2021-11-22 10:28:43 +01:00
..
associated_fn_without_self.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00
impl_future.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00
impl_into_response.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00
multiple_extractors.rs Fix #[debug_handler] for multiple extractors (#552) 2021-11-22 10:28:43 +01:00
mut_extractor.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00
ready.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00
returns_self.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00
self_receiver.rs Make axum-debug handle more cases (#518) 2021-11-19 21:32:07 +01:00