The trailing_semicolon = false option, when run on this code:
fn foo() {}
fn main() {
return;
foo()
}
turns it into
fn foo() {}
fn main() {
return
foo()
}
which now runs foo() where it did not before, as a second run of rustfmt will make clearer:
fn foo() {}
fn main() {
return foo()
}
Observed on rustfmt 1.5.3-nightly (065a1f5 2023-06-21).