axum/axum-macros/tests/debug_handler/fail/extension_not_clone.rs

10 lines
181 B
Rust
Raw Normal View History

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