mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 07:39:25 +01:00
852e548e19
* Support `#[from_request(via(...))]` on enums * Check `#[from_request]` on variants * check for non enum/struct and clean up * changelog * changelog * remove needless feature * changelog ref
5 lines
191 B
Text
5 lines
191 B
Text
error: cannot use `rejection_derive` on enums
|
|
--> tests/from_request/fail/enum_rejection_derive.rs:4:16
|
|
|
|
|
4 | #[from_request(rejection_derive(!Error))]
|
|
| ^^^^^^^^^^^^^^^^
|