mirror of https://github.com/rwf2/Rocket.git
Update UI tests for latest stable.
This commit is contained in:
parent
71e96d0d0d
commit
2cbaf05153
|
@ -14,7 +14,7 @@ error[E0277]: the trait bound `Vec<i32>: Pool` is not satisfied
|
|||
--> tests/ui-fail-stable/database-types.rs:11:10
|
||||
|
|
||||
11 | struct B(Vec<i32>);
|
||||
| ^^^ the trait `Pool` is not implemented for `Vec<i32>`
|
||||
| ^^^^^^^^ the trait `Pool` is not implemented for `Vec<i32>`
|
||||
|
|
||||
note: required by a bound in `rocket_db_pools::Database::Pool`
|
||||
--> $WORKSPACE/contrib/db_pools/lib/src/database.rs
|
||||
|
|
|
@ -100,12 +100,12 @@ error: [note] this function cannot be `main`
|
|||
| ^^^^
|
||||
|
||||
error[E0728]: `await` is only allowed inside `async` functions and blocks
|
||||
--> tests/ui-fail-stable/async-entry.rs:73:17
|
||||
--> tests/ui-fail-stable/async-entry.rs:73:41
|
||||
|
|
||||
72 | fn rocket() -> _ {
|
||||
| ------ this is not `async`
|
||||
73 | let _ = rocket::build().launch().await;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks
|
||||
| ^^^^^^ only allowed inside `async` functions and blocks
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> tests/ui-fail-stable/async-entry.rs:35:9
|
||||
|
|
Loading…
Reference in New Issue