Skip to content

Commit a48e418

Browse files
authored
ci: update macros_type_mismatch for Rust 1.87.0 (#7339)
1 parent 4cbcb68 commit a48e418

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests-build/tests/fail/macros_type_mismatch.stderr

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ error[E0277]: the `?` operator can only be used in an async block that returns `
5757
39 | async fn question_mark_operator_with_invalid_option() -> Option<()> {
5858
40 | None?;
5959
| ^ cannot use the `?` operator in an async block that returns `()`
60-
|
61-
= help: the trait `FromResidual<Option<Infallible>>` is not implemented for `()`
6260

6361
error[E0308]: mismatched types
6462
--> 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 `
8785
56 | async fn question_mark_operator_with_invalid_result() -> Result<(), ()> {
8886
57 | Ok(())?;
8987
| ^ cannot use the `?` operator in an async block that returns `()`
90-
|
91-
= help: the trait `FromResidual<Result<Infallible, _>>` is not implemented for `()`
9288

9389
error[E0308]: mismatched types
9490
--> tests/fail/macros_type_mismatch.rs:57:5

0 commit comments

Comments
 (0)