File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ error[E0277]: the `?` operator can only be used in an async block that returns `
575739 | async fn question_mark_operator_with_invalid_option() -> Option<()> {
585840 | 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
6361error[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 `
878556 | async fn question_mark_operator_with_invalid_result() -> Result<(), ()> {
888657 | 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
9389error[E0308]: mismatched types
9490 --> tests/fail/macros_type_mismatch.rs:57:5
You can’t perform that action at this time.
0 commit comments