axum/axum-macros/tests/debug_handler/fail/json_not_deserialize.rs

10 lines
137 B
Rust
Raw Normal View History

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