mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-29 11:42:47 +01:00
568394a28e
* support setting body type for #[debug_handler] * Use lookahead1 to give better errors and detect duplicate arguments * fix docs link
11 lines
371 B
Text
11 lines
371 B
Text
error: `body` specified more than once
|
|
--> tests/debug_handler/fail/duplicate_args.rs:3:33
|
|
|
|
|
3 | #[debug_handler(body = BoxBody, body = BoxBody)]
|
|
| ^^^^
|
|
|
|
error: `state` specified more than once
|
|
--> tests/debug_handler/fail/duplicate_args.rs:6:29
|
|
|
|
|
6 | #[debug_handler(state = (), state = ())]
|
|
| ^^^^^
|