Description
A number of our existing tests (targeting rustfmt on master) have poor formatting of return types that don't align with the changes made in #4368:
rustfmt/tests/target/issue-3278.rs
Lines 1 to 2 in f817383
rustfmt/tests/target/long-fn-1.rs
Lines 18 to 19 in f817383
rustfmt/tests/target/issue-2672.rs
Lines 30 to 31 in f817383
rustfmt/tests/target/issue-2672.rs
Lines 48 to 49 in f817383
I think these should be fixed to use return type indentation, a formatting regression fixed in #4368. These tests appear to have been added after that regression.
@topecongiro @calebcartwright if this sounds reasonable, feel free to assign me to this issue, I have some ideas of how to fix this and simplify the monolith function that handles function signature formatting (at least w.r.t. return types).