From 2cbaf05153ef2338fd70134fd251d5180fc2cfcc Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Mon, 7 Mar 2022 12:16:21 -0800 Subject: [PATCH] Update UI tests for latest stable. --- .../codegen/tests/ui-fail-stable/database-types.stderr | 2 +- core/codegen/tests/ui-fail-stable/async-entry.stderr | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/db_pools/codegen/tests/ui-fail-stable/database-types.stderr b/contrib/db_pools/codegen/tests/ui-fail-stable/database-types.stderr index 4e1bec5e..89b298f0 100644 --- a/contrib/db_pools/codegen/tests/ui-fail-stable/database-types.stderr +++ b/contrib/db_pools/codegen/tests/ui-fail-stable/database-types.stderr @@ -14,7 +14,7 @@ error[E0277]: the trait bound `Vec: Pool` is not satisfied --> tests/ui-fail-stable/database-types.rs:11:10 | 11 | struct B(Vec); - | ^^^ the trait `Pool` is not implemented for `Vec` + | ^^^^^^^^ the trait `Pool` is not implemented for `Vec` | note: required by a bound in `rocket_db_pools::Database::Pool` --> $WORKSPACE/contrib/db_pools/lib/src/database.rs diff --git a/core/codegen/tests/ui-fail-stable/async-entry.stderr b/core/codegen/tests/ui-fail-stable/async-entry.stderr index ae9c0593..fd72cce3 100644 --- a/core/codegen/tests/ui-fail-stable/async-entry.stderr +++ b/core/codegen/tests/ui-fail-stable/async-entry.stderr @@ -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