Error code E0642
Trait methods currently cannot take patterns as arguments.
Erroneous code example:
ⓘ
You can instead use a single name for the argument:
Trait methods currently cannot take patterns as arguments.
Erroneous code example:
ⓘ
You can instead use a single name for the argument: