Skip to content

Commit

Permalink
fix: accept tests on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
evertedsphere committed Apr 13, 2023
1 parent a3dfc64 commit 4c5f5e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests-build/tests/fail/macros_type_mismatch.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0308]: mismatched types
5 | Ok(())
| ^^^^^^- help: consider using a semicolon here: `;`
| |
| expected `()`, found `Result<(), _>`
| expected `()`, found enum `Result`
|
= note: expected unit type `()`
found enum `Result<(), _>`
Expand All @@ -13,7 +13,7 @@ error[E0308]: mismatched types
--> tests/fail/macros_type_mismatch.rs:8:1
|
8 | #[tokio::main]
| ^^^^^^^^^^^^^^ expected `()`, found `Result<(), _>`
| ^^^^^^^^^^^^^^ expected `()`, found enum `Result`
9 | async fn missing_return_type() {
| - help: a return type might be missing here: `-> _`
|
Expand All @@ -25,7 +25,7 @@ error[E0308]: mismatched types
--> tests/fail/macros_type_mismatch.rs:14:31
|
14 | async fn extra_semicolon() -> Result<(), ()> {
| --------------- ^^^^^^^^^^^^^^ expected `Result<(), ()>`, found `()`
| --------------- ^^^^^^^^^^^^^^ expected enum `Result`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
...
Expand Down

0 comments on commit 4c5f5e5

Please sign in to comment.