From 83aeae861017d2f6689fb9570bb8e59ef016e899 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 22 Oct 2021 09:36:12 +0200 Subject: [PATCH] chore: fix output of macro after new rustc release (#4189) --- 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 4122ffb56..a8fa99bc6 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