mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
* Add missing leading double colon * Separate handling of last element in FromRequest derive * FromRequestParts derive * fix it and add lots of tests * docs * changelog * Update axum-macros/src/lib.rs Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: David Pedersen <[email protected]>
17 lines
796 B
Plaintext
17 lines
796 B
Plaintext
error[E0277]: the trait bound `String: FromRequestParts<S>` is not satisfied
|
|
--> tests/from_request/fail/parts_extracting_body.rs:6:11
|
|
|
|
|
6 | body: String,
|
|
| ^^^^^^ the trait `FromRequestParts<S>` is not implemented for `String`
|
|
|
|
|
= help: the following other types implement trait `FromRequestParts<S>`:
|
|
<() as FromRequestParts<S>>
|
|
<(T1, T2) as FromRequestParts<S>>
|
|
<(T1, T2, T3) as FromRequestParts<S>>
|
|
<(T1, T2, T3, T4) as FromRequestParts<S>>
|
|
<(T1, T2, T3, T4, T5) as FromRequestParts<S>>
|
|
<(T1, T2, T3, T4, T5, T6) as FromRequestParts<S>>
|
|
<(T1, T2, T3, T4, T5, T6, T7) as FromRequestParts<S>>
|
|
<(T1, T2, T3, T4, T5, T6, T7, T8) as FromRequestParts<S>>
|
|
and 27 others
|