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

Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
Alexander Jackson
2023-06-22 21:51:52 +00:00
committed by GitHub
co-authored by David Pedersen
parent 40da647620
commit 68696b09b1
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() {}