mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
* 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 <[email protected]> Co-authored-by: Jonas Platte <[email protected]>
6 lines
173 B
Plaintext
6 lines
173 B
Plaintext
error: expected `via`
|
|
--> tests/from_request/fail/unknown_attr_field.rs:4:33
|
|
|
|
|
4 | struct Extractor(#[from_request(foo)] String);
|
|
| ^^^
|