axum/axum-macros/tests/debug_handler/fail/json_not_deserialize.rs
Jonas Platte a26ddd1063
Improve debug_handler message for generic request-consuming extractors (#1826)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-10 08:51:03 +00:00

9 lines
137 B
Rust

use axum::Json;
use axum_macros::debug_handler;
struct Struct {}
#[debug_handler]
async fn handler(foo: Json<Struct>) {}
fn main() {}