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
22 help: if you intended to pass a unit value, use a unit literal instead
27 error: passing a unit value to a function
28 --> $DIR/unit_arg.rs:28:9
33 help: if you intended to pass a unit value, use a unit literal instead
38 error: passing a unit value to a function
39 --> $DIR/unit_arg.rs:29:9
48 help: if you intended to pass a unit value, use a unit literal instead
53 error: passing a unit value to a function
54 --> $DIR/unit_arg.rs:33:10
59 help: if you intended to pass a unit value, use a unit literal instead
64 error: passing a unit value to a function
65 --> $DIR/unit_arg.rs:35:11
73 help: if you intended to pass a unit value, use a unit literal instead
78 error: aborting due to 6 previous errors