chore: fix output of macro after new rustc release (#4189)

This commit is contained in:
Alice Ryhl
2021-10-22 09:36:12 +02:00
committed by GitHub
parent cf550b2183
commit 83aeae8610
@@ -9,11 +9,11 @@ error[E0308]: mismatched types
help: consider using a semicolon here help: consider using a semicolon here
| |
5 | Ok(()); 5 | Ok(());
| ^ | +
help: try adding a return type help: try adding a return type
| |
4 | async fn missing_semicolon_or_return_type() -> Result<(), _> { 4 | async fn missing_semicolon_or_return_type() -> Result<(), _> {
| ^^^^^^^^^^^^^^^^ | ++++++++++++++++
error[E0308]: mismatched types error[E0308]: mismatched types
--> $DIR/macros_type_mismatch.rs:10:5 --> $DIR/macros_type_mismatch.rs:10:5