We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbebd8 commit e97b97eCopy full SHA for e97b97e
src/test/ui/no-patterns-in-args-2.stderr
@@ -8,7 +8,7 @@ error: patterns aren't allowed in functions without bodies
8
--> $DIR/no-patterns-in-args-2.rs:4:11
9
|
10
LL | fn f1(mut arg: u8);
11
- | ^^^^^^^
+ | ^^^^^^^ help: remove `mut` from the parameter: `arg`
12
13
note: the lint level is defined here
14
--> $DIR/no-patterns-in-args-2.rs:1:9
0 commit comments