2022-08-17 17:13:31 +02: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) {}
|
2022-08-17 17:13:31 +02:00
|
|
|
| ^^^^ the trait `FromRequest<(), Body>` is not implemented for `bool`
|
2021-11-11 21:26:08 +01:00
|
|
|
|
|
2022-08-17 17:13:31 +02:00
|
|
|
= help: the following other types implement trait `FromRequest<S, B>`:
|
|
|
|
|
<() as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2) as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2, T3) as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2, T3, T4) as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2, T3, T4, T5) as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2, T3, T4, T5, T6) as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2, T3, T4, T5, T6, T7) as FromRequest<S, B>>
|
|
|
|
|
<(T1, T2, T3, T4, T5, T6, T7, T8) as FromRequest<S, B>>
|
|
|
|
|
and 34 others
|
2021-11-19 21:32:07 +01:00
|
|
|
= help: see issue #48214
|