axum/axum-macros/tests/debug_handler/fail/extension_not_clone.rs
Jonas Platte 34e11c50b5
Add Extension<NonCloneType> debug_handler ui test (#2731)
Co-authored-by: Logan Nielsen <loganbn@amazon.com>
2024-06-09 20:17:43 +02:00

9 lines
181 B
Rust

use axum::extract::Extension;
use axum_macros::debug_handler;
struct NonCloneType;
#[debug_handler]
async fn test_extension_non_clone(_: Extension<NonCloneType>) {}
fn main() {}