11error: consider adding a `;` to the last statement for consistent formatting
2- --> tests/ui/semicolon_if_nothing_returned.rs:13 :5
2+ --> tests/ui/semicolon_if_nothing_returned.rs:18 :5
33 |
44LL | println!("Hello")
55 | ^^^^^^^^^^^^^^^^^ help: add a `;` here: `println!("Hello");`
@@ -8,25 +8,25 @@ LL | println!("Hello")
88 = help: to override `-D warnings` add `#[allow(clippy::semicolon_if_nothing_returned)]`
99
1010error: consider adding a `;` to the last statement for consistent formatting
11- --> tests/ui/semicolon_if_nothing_returned.rs:17 :5
11+ --> tests/ui/semicolon_if_nothing_returned.rs:22 :5
1212 |
1313LL | get_unit()
1414 | ^^^^^^^^^^ help: add a `;` here: `get_unit();`
1515
1616error: consider adding a `;` to the last statement for consistent formatting
17- --> tests/ui/semicolon_if_nothing_returned.rs:22 :5
17+ --> tests/ui/semicolon_if_nothing_returned.rs:27 :5
1818 |
1919LL | y = x + 1
2020 | ^^^^^^^^^ help: add a `;` here: `y = x + 1;`
2121
2222error: consider adding a `;` to the last statement for consistent formatting
23- --> tests/ui/semicolon_if_nothing_returned.rs:28 :9
23+ --> tests/ui/semicolon_if_nothing_returned.rs:33 :9
2424 |
2525LL | hello()
2626 | ^^^^^^^ help: add a `;` here: `hello();`
2727
2828error: consider adding a `;` to the last statement for consistent formatting
29- --> tests/ui/semicolon_if_nothing_returned.rs:39 :9
29+ --> tests/ui/semicolon_if_nothing_returned.rs:44 :9
3030 |
3131LL | ptr::drop_in_place(s.as_mut_ptr())
3232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `ptr::drop_in_place(s.as_mut_ptr());`
0 commit comments