1 error: passing a unit value to a function
2 --> $DIR/unit_arg.rs:24:9
7 = note: `-D clippy::unit-arg` implied by `-D warnings`
8 help: if you intended to pass a unit value, use a unit literal instead
13 error: passing a unit value to a function
14 --> $DIR/unit_arg.rs:25:9
21 help: if you intended to pass a unit value, use a unit literal instead
26 error: passing a unit value to a function
27 --> $DIR/unit_arg.rs:28:9
31 help: if you intended to pass a unit value, use a unit literal instead
36 error: passing a unit value to a function
37 --> $DIR/unit_arg.rs:29:9
45 help: if you intended to pass a unit value, use a unit literal instead
50 error: passing a unit value to a function
51 --> $DIR/unit_arg.rs:33:10
55 help: if you intended to pass a unit value, use a unit literal instead
60 error: passing a unit value to a function
61 --> $DIR/unit_arg.rs:35:11
68 help: if you intended to pass a unit value, use a unit literal instead
73 error: aborting due to 6 previous errors