From e97b97ebcd778337e7ae6afb6868ca4c2f6ebbb3 Mon Sep 17 00:00:00 2001 From: Daiki Ihara Date: Mon, 30 Nov 2020 23:25:07 +0900 Subject: [PATCH] bless no-patterns-in-args-2 ui test suit --- src/test/ui/no-patterns-in-args-2.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/no-patterns-in-args-2.stderr b/src/test/ui/no-patterns-in-args-2.stderr index 21f4439d89009..98932349a7902 100644 --- a/src/test/ui/no-patterns-in-args-2.stderr +++ b/src/test/ui/no-patterns-in-args-2.stderr @@ -8,7 +8,7 @@ error: patterns aren't allowed in functions without bodies --> $DIR/no-patterns-in-args-2.rs:4:11 | LL | fn f1(mut arg: u8); - | ^^^^^^^ + | ^^^^^^^ help: remove `mut` from the parameter: `arg` | note: the lint level is defined here --> $DIR/no-patterns-in-args-2.rs:1:9