mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-18 20:54:03 +01:00
17 lines
635 B
Text
17 lines
635 B
Text
error[E0277]: the trait bound `bool: FromRequest<Body>` is not satisfied
|
|
--> tests/debug_handler/fail/argument_not_extractor.rs:4:23
|
|
|
|
|
4 | async fn handler(foo: bool) {}
|
|
| ^^^^ the trait `FromRequest<Body>` is not implemented for `bool`
|
|
|
|
|
= help: the following other types implement trait `FromRequest<B>`:
|
|
()
|
|
(T1, T2)
|
|
(T1, T2, T3)
|
|
(T1, T2, T3, T4)
|
|
(T1, T2, T3, T4, T5)
|
|
(T1, T2, T3, T4, T5, T6)
|
|
(T1, T2, T3, T4, T5, T6, T7)
|
|
(T1, T2, T3, T4, T5, T6, T7, T8)
|
|
and 33 others
|
|
= help: see issue #48214
|