1
Fork 0

bless no-patterns-in-args-2 ui test suit

This commit is contained in:
Daiki Ihara 2020-11-30 23:25:07 +09:00
parent acbebd81d4
commit e97b97ebcd

View file

@ -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