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

11 lines
183 B
Rust
Raw Normal View History

use axum_macros::debug_handler;
use axum::{Json, http::Uri};
#[debug_handler]
async fn one(_: Json<()>, _: Uri) {}
#[debug_handler]
async fn two(_: String, _: Uri) {}
fn main() {}