From 53176648939cd1d174096d03debff9e74e5dcb90 Mon Sep 17 00:00:00 2001 From: Jeb Rosen Date: Sun, 27 Oct 2019 08:58:29 -0700 Subject: [PATCH] Fix UI tests for FromRequestAsync. --- core/codegen/tests/ui-fail/route-type-errors.stderr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/codegen/tests/ui-fail/route-type-errors.stderr b/core/codegen/tests/ui-fail/route-type-errors.stderr index 5466c67b..fa2268c7 100644 --- a/core/codegen/tests/ui-fail/route-type-errors.stderr +++ b/core/codegen/tests/ui-fail/route-type-errors.stderr @@ -35,6 +35,8 @@ error[E0277]: the trait bound `Q: rocket::request::FromRequest<'_, '_>` is not s | 23 | fn f5(a: Q, foo: 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 --> $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) {} | ^^^^ 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 --> $DIR/route-type-errors.rs:28:13