rust/tests/target/issue-5125/long_parameter_in_different_positions.rs
Yacin Tmimi 8b0b213cdd Prevent adding trailing whitespace when rewriting ast::Param
Fixes 5125

Previously, a newline was always added, even if the parameter name was
not preceded by any param attrs.

Now a newline is only added if there were param attrs.
2022-01-29 12:20:34 -06:00

25 lines
477 B
Rust

fn middle(
a: usize,
b: <u16 as intercom::type_system::ExternType<
intercom::type_system::AutomationTypeSystem,
>>::ForeignType,
c: bool,
) {
}
fn last(
a: usize,
b: <u16 as intercom::type_system::ExternType<
intercom::type_system::AutomationTypeSystem,
>>::ForeignType,
) {
}
fn first(
a: <u16 as intercom::type_system::ExternType<
intercom::type_system::AutomationTypeSystem,
>>::ForeignType,
b: usize,
) {
}