mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-26 09:08:05 +01:00
568394a28e
* support setting body type for #[debug_handler] * Use lookahead1 to give better errors and detect duplicate arguments * fix docs link
5 lines
140 B
Text
5 lines
140 B
Text
error: expected `body` or `state`
|
|
--> tests/debug_handler/fail/invalid_attrs.rs:3:17
|
|
|
|
|
3 | #[debug_handler(foo)]
|
|
| ^^^
|