1 error: consider adding a `;` to the last statement for consistent formatting
2 --> $DIR/semicolon_if_nothing_returned.rs:8:5
5 | ^^^^^^^^^^^^^^^^^ help: add a `;` here: `println!("Hello");`
7 = note: `-D clippy::semicolon-if-nothing-returned` implied by `-D warnings`
9 error: consider adding a `;` to the last statement for consistent formatting
10 --> $DIR/semicolon_if_nothing_returned.rs:12:5
13 | ^^^^^^^^^^ help: add a `;` here: `get_unit();`
15 error: consider adding a `;` to the last statement for consistent formatting
16 --> $DIR/semicolon_if_nothing_returned.rs:17:5
19 | ^^^^^^^^^ help: add a `;` here: `y = x + 1;`
21 error: aborting due to 3 previous errors