rust/tests/target/issue-5125/minimum_example.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

7 lines
138 B
Rust

fn foo(
a: <u16 as intercom::type_system::ExternType<
intercom::type_system::AutomationTypeSystem,
>>::ForeignType,
) {
}