Update UI tests for latest nightly.

This commit is contained in:
Sergio Benitez 2021-08-19 19:48:45 -07:00
parent a361bbd899
commit 15e74fe184
5 changed files with 38 additions and 29 deletions

View File

@ -4,10 +4,11 @@ error[E0277]: the trait bound `Unknown: Pool` is not satisfied
7 | struct A(Unknown); 7 | struct A(Unknown);
| ^^^^^^^ the trait `Pool` is not implemented for `Unknown` | ^^^^^^^ the trait `Pool` is not implemented for `Unknown`
| |
::: $WORKSPACE/contrib/db_pools/lib/src/database.rs note: required by a bound in `rocket_db_pools::Database::Pool`
--> $DIR/database.rs:41:16
| |
| type Pool: Pool; 41 | type Pool: Pool;
| ---- required by this bound in `rocket_db_pools::Database::Pool` | ^^^^ required by this bound in `rocket_db_pools::Database::Pool`
error[E0277]: the trait bound `Vec<i32>: Pool` is not satisfied error[E0277]: the trait bound `Vec<i32>: Pool` is not satisfied
--> $DIR/database-types.rs:11:10 --> $DIR/database-types.rs:11:10
@ -15,7 +16,8 @@ error[E0277]: the trait bound `Vec<i32>: Pool` is not satisfied
11 | struct B(Vec<i32>); 11 | struct B(Vec<i32>);
| ^^^^^^^^ the trait `Pool` is not implemented for `Vec<i32>` | ^^^^^^^^ the trait `Pool` is not implemented for `Vec<i32>`
| |
::: $WORKSPACE/contrib/db_pools/lib/src/database.rs note: required by a bound in `rocket_db_pools::Database::Pool`
--> $DIR/database.rs:41:16
| |
| type Pool: Pool; 41 | type Pool: Pool;
| ---- required by this bound in `rocket_db_pools::Database::Pool` | ^^^^ required by this bound in `rocket_db_pools::Database::Pool`

View File

@ -4,10 +4,11 @@ error[E0277]: the trait bound `Unknown: Poolable` is not satisfied
6 | struct A(Unknown); 6 | struct A(Unknown);
| ^^^^^^^ the trait `Poolable` is not implemented for `Unknown` | ^^^^^^^ the trait `Poolable` is not implemented for `Unknown`
| |
::: $WORKSPACE/contrib/sync_db_pools/lib/src/connection.rs note: required by a bound in `rocket_sync_db_pools::Connection`
--> $DIR/connection.rs:44:29
| |
| pub struct Connection<K, C: Poolable> { 44 | pub struct Connection<K, C: Poolable> {
| -------- required by this bound in `rocket_sync_db_pools::Connection` | ^^^^^^^^ required by this bound in `rocket_sync_db_pools::Connection`
error[E0277]: the trait bound `Vec<i32>: Poolable` is not satisfied error[E0277]: the trait bound `Vec<i32>: Poolable` is not satisfied
--> $DIR/database-types.rs:9:10 --> $DIR/database-types.rs:9:10
@ -15,7 +16,8 @@ error[E0277]: the trait bound `Vec<i32>: Poolable` is not satisfied
9 | struct B(Vec<i32>); 9 | struct B(Vec<i32>);
| ^^^^^^^^ the trait `Poolable` is not implemented for `Vec<i32>` | ^^^^^^^^ the trait `Poolable` is not implemented for `Vec<i32>`
| |
::: $WORKSPACE/contrib/sync_db_pools/lib/src/connection.rs note: required by a bound in `rocket_sync_db_pools::Connection`
--> $DIR/connection.rs:44:29
| |
| pub struct Connection<K, C: Poolable> { 44 | pub struct Connection<K, C: Poolable> {
| -------- required by this bound in `rocket_sync_db_pools::Connection` | ^^^^^^^^ required by this bound in `rocket_sync_db_pools::Connection`

View File

@ -492,6 +492,6 @@ error[E0308]: mismatched types
help: try using a conversion method help: try using a conversion method
| |
203 | #[field(default_with = Some("hi".to_string()))] 203 | #[field(default_with = Some("hi".to_string()))]
| ^^^^^^^^^^^^ | ++++++++++++
203 | #[field(default_with = Some("hi".to_string()))] 203 | #[field(default_with = Some("hi".to_string()))]
| ^^^^^^^^^^^^ | ++++++++++++

View File

@ -44,10 +44,11 @@ error[E0277]: the trait bound `Q: FromData<'_>` is not satisfied
18 | fn f4(foo: Q) {} 18 | fn f4(foo: Q) {}
| ^ the trait `FromData<'_>` is not implemented for `Q` | ^ the trait `FromData<'_>` is not implemented for `Q`
| |
::: $WORKSPACE/core/lib/src/data/from_data.rs note: required by a bound in `rocket::data::FromData::from_data`
--> $DIR/from_data.rs:194:41
| |
| async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> Outcome<'r, Self>; 194 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> Outcome<'r, Self>;
| -- required by this bound in `rocket::data::FromData::from_data` | ^^ required by this bound in `rocket::data::FromData::from_data`
error[E0277]: the trait bound `Q: FromRequest<'_>` is not satisfied error[E0277]: the trait bound `Q: FromRequest<'_>` is not satisfied
--> $DIR/route-type-errors.rs:21:10 --> $DIR/route-type-errors.rs:21:10
@ -55,10 +56,11 @@ error[E0277]: the trait bound `Q: FromRequest<'_>` is not satisfied
21 | fn f5(a: Q, foo: Q) {} 21 | fn f5(a: Q, foo: Q) {}
| ^ the trait `FromRequest<'_>` is not implemented for `Q` | ^ the trait `FromRequest<'_>` is not implemented for `Q`
| |
::: $WORKSPACE/core/lib/src/request/from_request.rs note: required by a bound in `from_request`
--> $DIR/from_request.rs:388:48
| |
| async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error>; 388 | async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error>;
| -- required by this bound in `from_request` | ^^ required by this bound in `from_request`
error[E0277]: the trait bound `Q: FromParam<'_>` is not satisfied error[E0277]: the trait bound `Q: FromParam<'_>` is not satisfied
--> $DIR/route-type-errors.rs:21:18 --> $DIR/route-type-errors.rs:21:18
@ -78,10 +80,11 @@ error[E0277]: the trait bound `Q: FromRequest<'_>` is not satisfied
24 | fn f6(a: Q, foo: Q, good: usize, bar: Q) {} 24 | fn f6(a: Q, foo: Q, good: usize, bar: Q) {}
| ^ the trait `FromRequest<'_>` is not implemented for `Q` | ^ the trait `FromRequest<'_>` is not implemented for `Q`
| |
::: $WORKSPACE/core/lib/src/request/from_request.rs note: required by a bound in `from_request`
--> $DIR/from_request.rs:388:48
| |
| async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error>; 388 | async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error>;
| -- required by this bound in `from_request` | ^^ required by this bound in `from_request`
error[E0277]: the trait bound `Q: FromParam<'_>` is not satisfied error[E0277]: the trait bound `Q: FromParam<'_>` is not satisfied
--> $DIR/route-type-errors.rs:24:18 --> $DIR/route-type-errors.rs:24:18

View File

@ -162,10 +162,11 @@ error[E0277]: the trait bound `S: Ignorable<rocket::http::uri::fmt::Query>` is n
66 | uri!(other_q(rest = _, id = 100)); 66 | uri!(other_q(rest = _, id = 100));
| ^ the trait `Ignorable<rocket::http::uri::fmt::Query>` is not implemented for `S` | ^ the trait `Ignorable<rocket::http::uri::fmt::Query>` is not implemented for `S`
| |
::: $WORKSPACE/core/http/src/uri/fmt/uri_display.rs note: required by a bound in `assert_ignorable`
--> $DIR/uri_display.rs:544:37
| |
| pub fn assert_ignorable<P: Part, T: Ignorable<P>>() { } 544 | pub fn assert_ignorable<P: Part, T: Ignorable<P>>() { }
| ------------ required by this bound in `assert_ignorable` | ^^^^^^^^^^^^ required by this bound in `assert_ignorable`
error[E0277]: the trait bound `usize: Ignorable<rocket::http::uri::fmt::Query>` is not satisfied error[E0277]: the trait bound `usize: Ignorable<rocket::http::uri::fmt::Query>` is not satisfied
--> $DIR/typed-uri-bad-type.rs:68:33 --> $DIR/typed-uri-bad-type.rs:68:33
@ -173,10 +174,11 @@ error[E0277]: the trait bound `usize: Ignorable<rocket::http::uri::fmt::Query>`
68 | uri!(other_q(rest = S, id = _)); 68 | uri!(other_q(rest = S, id = _));
| ^ the trait `Ignorable<rocket::http::uri::fmt::Query>` is not implemented for `usize` | ^ the trait `Ignorable<rocket::http::uri::fmt::Query>` is not implemented for `usize`
| |
::: $WORKSPACE/core/http/src/uri/fmt/uri_display.rs note: required by a bound in `assert_ignorable`
--> $DIR/uri_display.rs:544:37
| |
| pub fn assert_ignorable<P: Part, T: Ignorable<P>>() { } 544 | pub fn assert_ignorable<P: Part, T: Ignorable<P>>() { }
| ------------ required by this bound in `assert_ignorable` | ^^^^^^^^^^^^ required by this bound in `assert_ignorable`
error[E0277]: the trait bound `S: FromUriParam<rocket::http::uri::fmt::Query, _>` is not satisfied error[E0277]: the trait bound `S: FromUriParam<rocket::http::uri::fmt::Query, _>` is not satisfied
--> $DIR/typed-uri-bad-type.rs:68:25 --> $DIR/typed-uri-bad-type.rs:68:25