Error code E0050
An attempted implementation of a trait method has the wrong number of function parameters.
Erroneous code example:
ⓘ
For example, the Foo trait has a method foo with two function parameters
(&self and u8), but the implementation of foo for the type Bar omits
the u8 parameter. To fix this error, they must have the same parameters: