mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-17 04:09:03 +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>);
|
|
| ^^^^^^^^^
|