mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-30 04:02:42 +01:00
5 lines
237 B
Text
5 lines
237 B
Text
error: #[derive(FromRequest)] only supports generics on tuple structs that have exactly one field of the generic type
|
|
--> tests/from_request/fail/generic.rs:4:21
|
|
|
|
|
4 | struct Extractor<T>(Option<T>);
|
|
| ^^^^^^^^^
|