mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-27 06:50:52 +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
7 lines
288 B
Text
7 lines
288 B
Text
error: missing `#[from_request(via(...))]`
|
|
--> tests/from_request/fail/enum_no_via.rs:3:10
|
|
|
|
|
3 | #[derive(FromRequest, Clone)]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `FromRequest` (in Nightly builds, run with -Z macro-backtrace for more info)
|