Skip to content

Commit 025f4d4

Browse files
jebrosenSergioBenitez
authored andcommitted
Fix UI tests for FromRequestAsync.
1 parent d410f02 commit 025f4d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/codegen/tests/ui-fail/route-type-errors.stderr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ error[E0277]: the trait bound `Q: rocket::request::FromRequest<'_, '_>` is not s
3535
|
3636
23 | fn f5(a: Q, foo: Q) {}
3737
| ^^^^ the trait `rocket::request::FromRequest<'_, '_>` is not implemented for `Q`
38+
|
39+
= note: required because of the requirements on the impl of `rocket::request::FromRequestAsync<'_, '_>` for `Q`
3840

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

5155
error[E0277]: the trait bound `Q: rocket::request::FromParam<'_>` is not satisfied
5256
--> $DIR/route-type-errors.rs:28:13

0 commit comments

Comments
 (0)