From 131d5f2b2cdd0f0e775bc1e6715e7ddb84e76528 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 22 Oct 2021 08:57:09 +0200 Subject: [PATCH] chore: fix output of macro after new rustc release --- tests-build/tests/fail/macros_type_mismatch.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-build/tests/fail/macros_type_mismatch.stderr b/tests-build/tests/fail/macros_type_mismatch.stderr index 4122ffb56ce..a8fa99bc63b 100644 --- a/tests-build/tests/fail/macros_type_mismatch.stderr +++ b/tests-build/tests/fail/macros_type_mismatch.stderr @@ -9,11 +9,11 @@ error[E0308]: mismatched types help: consider using a semicolon here | 5 | Ok(()); - | ^ + | + help: try adding a return type | 4 | async fn missing_semicolon_or_return_type() -> Result<(), _> { - | ^^^^^^^^^^^^^^^^ + | ++++++++++++++++ error[E0308]: mismatched types --> $DIR/macros_type_mismatch.rs:10:5