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: consider adding a `;` to the last statement for consistent formatting
22 --> $DIR/semicolon_if_nothing_returned.rs:23:9
25 | ^^^^^^^ help: add a `;` here: `hello();`
27 error: consider adding a `;` to the last statement for consistent formatting
28 --> $DIR/semicolon_if_nothing_returned.rs:34:9
30 LL | ptr::drop_in_place(s.as_mut_ptr())
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `ptr::drop_in_place(s.as_mut_ptr());`
33 error: aborting due to 5 previous errors