From b1bdb3c57b9adfa928644ece1da97860c558efbb Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sat, 17 May 2025 11:24:36 +0200 Subject: [PATCH] ci: update macros_type_mismatch for Rust 1.87.0 (#7339) (cherry picked from commit a48e418dcbbe7eccc7ea0f0071ca60aca21a61b7) --- tests-build/tests/fail/macros_type_mismatch.stderr | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests-build/tests/fail/macros_type_mismatch.stderr b/tests-build/tests/fail/macros_type_mismatch.stderr index 201df9cdd..f9c32f005 100644 --- a/tests-build/tests/fail/macros_type_mismatch.stderr +++ b/tests-build/tests/fail/macros_type_mismatch.stderr @@ -57,8 +57,6 @@ error[E0277]: the `?` operator can only be used in an async block that returns ` 39 | async fn question_mark_operator_with_invalid_option() -> Option<()> { 40 | None?; | ^ cannot use the `?` operator in an async block that returns `()` - | - = help: the trait `FromResidual>` is not implemented for `()` error[E0308]: mismatched types --> tests/fail/macros_type_mismatch.rs:40:5 @@ -87,8 +85,6 @@ error[E0277]: the `?` operator can only be used in an async block that returns ` 56 | async fn question_mark_operator_with_invalid_result() -> Result<(), ()> { 57 | Ok(())?; | ^ cannot use the `?` operator in an async block that returns `()` - | - = help: the trait `FromResidual>` is not implemented for `()` error[E0308]: mismatched types --> tests/fail/macros_type_mismatch.rs:57:5