Skip to content

Commit

Permalink
bless no-patterns-in-args-2 ui test suit
Browse files Browse the repository at this point in the history
  • Loading branch information
sasurau4 committed Dec 21, 2020
1 parent acbebd8 commit e97b97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/no-patterns-in-args-2.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e97b97e

Please sign in to comment.