mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 07:48:39 +01:00
911c4a788e
* Handle structs without fields * Support opt-out of derived rejection traits * Handle duplicate opt outs * Improve error if opting out of `Display` or `Debug` but not `Error` * document `rejection_derive` * Handle using both `via` and `rejection_derive` * don't derive debug for `RejectionDeriveOptOuts` * Update axum-macros/src/from_request.rs Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com> Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
5 lines
156 B
Text
5 lines
156 B
Text
error: expected `via` or `rejection_derive`
|
|
--> tests/from_request/fail/unknown_attr_container.rs:4:16
|
|
|
|
|
4 | #[from_request(foo)]
|
|
| ^^^
|