Error code E0642
Trait methods currently cannot take patterns as arguments.
Erroneous code example:
ⓘ
You can instead use a single name for the argument:
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Trait methods currently cannot take patterns as arguments.
Erroneous code example:
ⓘ
You can instead use a single name for the argument: