1 error: passing a unit value to a function
2 --> $DIR/unit_arg.rs:23:9
7 = note: `-D 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:24: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:25: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:26: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:30: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:32:11
62 help: if you intended to pass a unit value, use a unit literal instead
67 error: aborting due to 6 previous errors