mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
12 lines
490 B
Plaintext
12 lines
490 B
Plaintext
error[E0277]: the trait bound `bool: FromRequest` is not satisfied
|
|||
|
|
--> tests/fail/argument_not_extractor.rs:4:23
|
||
|
|
|
|
||
|
|
4 | async fn handler(foo: bool) {}
|
||
|
|
| ^^^^ the trait `FromRequest` is not implemented for `bool`
|
||
|
|
|
|
||
|
|
note: required by a bound in `handler::{closure#0}::debug_handler`
|
||
|
|
--> tests/fail/argument_not_extractor.rs:4:23
|
||
|
|
|
|
||
|
|
4 | async fn handler(foo: bool) {}
|
||
|
|
| ^^^^ required by this bound in `handler::{closure#0}::debug_handler`
|