Add Extension<NonCloneType> debug_handler ui test (#2731)

Co-authored-by: Logan Nielsen <[email protected]>
This commit is contained in:
Jonas Platte
2024-06-09 20:17:43 +02:00
committed by GitHub
co-authored by Logan Nielsen
parent 80afd9253d
commit 34e11c50b5
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,9 @@
use axum::extract::Extension;
use axum_macros::debug_handler;
struct NonCloneType;
#[debug_handler]
async fn test_extension_non_clone(_: Extension<NonCloneType>) {}
fn main() {}