axum/axum-macros/tests/debug_handler/pass/deny_unreachable_code.rs

9 lines
141 B
Rust
Raw Normal View History

#![deny(unreachable_code)]
use axum::extract::Path;
#[axum_macros::debug_handler]
async fn handler(Path(_): Path<String>) {}
fn main() {}