1 error: passing a unit value to a function
2 --> $DIR/unit_arg.rs:35: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:36:9
18 help: if you intended to pass a unit value, use a unit literal instead
23 error: passing a unit value to a function
24 --> $DIR/unit_arg.rs:37:9
28 help: if you intended to pass a unit value, use a unit literal instead
33 error: passing a unit value to a function
34 --> $DIR/unit_arg.rs:38:9
42 help: if you intended to pass a unit value, use a unit literal instead
47 error: passing a unit value to a function
48 --> $DIR/unit_arg.rs:42:10
52 help: if you intended to pass a unit value, use a unit literal instead
57 error: passing a unit value to a function
58 --> $DIR/unit_arg.rs:44:11
62 help: if you intended to pass a unit value, use a unit literal instead
67 error: aborting due to 6 previous errors