Allow unreachable code in #[debug_handler] (#2014)

Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
Alexander Jackson
2023-07-17 09:38:08 +02:00
committed by David Pedersen
co-authored by David Pedersen
parent 078c7ca65b
commit 21fb5f4d22
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,8 @@
#![deny(unreachable_code)]
use axum::extract::Path;
#[axum_macros::debug_handler]
async fn handler(Path(_): Path<String>) {}
fn main() {}