Fix UI tests for FromRequestAsync.

This commit is contained in:
Jeb Rosen 2019-10-27 08:58:29 -07:00 committed by Sergio Benitez
parent 1c28a9413b
commit 5317664893
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,8 @@ error[E0277]: the trait bound `Q: rocket::request::FromRequest<'_, '_>` is not s
| |
23 | fn f5(a: Q, foo: Q) {} 23 | fn f5(a: Q, foo: Q) {}
| ^^^^ the trait `rocket::request::FromRequest<'_, '_>` is not implemented for `Q` | ^^^^ the trait `rocket::request::FromRequest<'_, '_>` is not implemented for `Q`
|
= note: required because of the requirements on the impl of `rocket::request::FromRequestAsync<'_, '_>` for `Q`
error[E0277]: the trait bound `Q: rocket::request::FromParam<'_>` is not satisfied error[E0277]: the trait bound `Q: rocket::request::FromParam<'_>` is not satisfied
--> $DIR/route-type-errors.rs:23:13 --> $DIR/route-type-errors.rs:23:13
@ -47,6 +49,8 @@ error[E0277]: the trait bound `Q: rocket::request::FromRequest<'_, '_>` is not s
| |
28 | fn f6(a: Q, foo: Q, good: usize, bar: Q) {} 28 | fn f6(a: Q, foo: Q, good: usize, bar: Q) {}
| ^^^^ the trait `rocket::request::FromRequest<'_, '_>` is not implemented for `Q` | ^^^^ the trait `rocket::request::FromRequest<'_, '_>` is not implemented for `Q`
|
= note: required because of the requirements on the impl of `rocket::request::FromRequestAsync<'_, '_>` for `Q`
error[E0277]: the trait bound `Q: rocket::request::FromParam<'_>` is not satisfied error[E0277]: the trait bound `Q: rocket::request::FromParam<'_>` is not satisfied
--> $DIR/route-type-errors.rs:28:13 --> $DIR/route-type-errors.rs:28:13