@@ -16,15 +16,15 @@ LL | fn t(_: S, _: S, _: Box<S>, _: Vec<u32>, _: bool, _: bool, _: bool, _: bool
16
16
= help: consider refactoring bools into two-variant enums
17
17
18
18
error: more than 3 bools in function parameters
19
- --> $DIR/fn_params_excessive_bools.rs:31 :5
19
+ --> $DIR/fn_params_excessive_bools.rs:33 :5
20
20
|
21
21
LL | fn f(&self, _: bool, _: bool, _: bool, _: bool) {}
22
22
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23
23
|
24
24
= help: consider refactoring bools into two-variant enums
25
25
26
26
error: more than 3 bools in function parameters
27
- --> $DIR/fn_params_excessive_bools.rs:45 :5
27
+ --> $DIR/fn_params_excessive_bools.rs:48 :5
28
28
|
29
29
LL | / fn n(_: bool, _: u32, _: bool, _: Box<u32>, _: bool, _: bool) {
30
30
LL | | fn nn(_: bool, _: bool, _: bool, _: bool) {}
@@ -34,7 +34,7 @@ LL | | }
34
34
= help: consider refactoring bools into two-variant enums
35
35
36
36
error: more than 3 bools in function parameters
37
- --> $DIR/fn_params_excessive_bools.rs:46 :9
37
+ --> $DIR/fn_params_excessive_bools.rs:49 :9
38
38
|
39
39
LL | fn nn(_: bool, _: bool, _: bool, _: bool) {}
40
40
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments