rustfmt
rustfmt copied to clipboard
Fix #5488 - prevent shorthand init for tuple struct
Closes #5488
Fix for #5488. Before applying shorthand initialization for structs, check if identifier is a literal (e.g. tuple struct). If yes, then do not apply short hand initialization.
Added test case to validate the changes for the fix.