arbitrary_source_item_ordering
should allow sorting constructors first
#14739
Labels
arbitrary_source_item_ordering
should allow sorting constructors first
#14739
Summary
Add option to expect constructor (
new
) functions first in impl blocks.Lint Name
arbitrary_source_item_ordering
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
Nothing.
Static functions called
new
should be either ignored or expected to be the first item.Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: