2021-11-30 14:46:13 +01:00
|
|
|
error[E0277]: the trait bound `bool: FromRequest<Body>` is not satisfied
|
2022-01-26 23:27:22 +01:00
|
|
|
--> tests/debug_handler/fail/argument_not_extractor.rs:4:23
|
2021-11-11 21:26:08 +01:00
|
|
|
|
|
|
|
|
4 | async fn handler(foo: bool) {}
|
2021-11-30 14:46:13 +01:00
|
|
|
| ^^^^ the trait `FromRequest<Body>` is not implemented for `bool`
|
2021-11-11 21:26:08 +01:00
|
|
|
|
|
2022-07-01 10:24:15 +02:00
|
|
|
= 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
|
2021-11-19 21:32:07 +01:00
|
|
|
= help: see issue #48214
|