axum/axum-macros/tests/from_request/fail/parts_extracting_body.rs

14 lines
236 B
Rust

use axum::{extract::FromRequestParts, response::Response};
#[derive(FromRequestParts)]
struct Extractor {
body: String,
}
fn assert_from_request()
where
Extractor: FromRequestParts<(), Rejection = Response>,
{
}
fn main() {}