Closed xd009642 closed 2 years ago
This looks like another example, but same fundamental issue as #5377 to me. Will leave it open for a bit in case you disagree, but am otherwise inclined to close as a duplicate (though we'll include this as a test case in the eventual fix)
PS also wanted to say thank you for tarpaulin :grin: :pray:
Ah yeah this is definitely looks like a duplicate to me, close away :pray:
PS thank you, thanks for rustfmt :heart:
Disclaimer: This code is very odd and deliberately so as part of stressing some syn based source analysis and expression reachability stuff. I don't write code like this as part of an application.
Given the code which compiles and passes
Cargo fmt turns it to:
Causing this error:
Of course there's a chance the formatting rules that cause this may break other projects using more normal code, hence the issue.