1 error: consider adding a `;` to the last statement for consistent formatting
2 --> $DIR/semicolon_if_nothing_returned.rs:10: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:14: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:19: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:25: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:36: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