E0424 states:
The self keyword was used in a static method.
But static method is probably wrong, it should just say a non-method (I don't think we have a technical term to refer to methods that do not take an arbitrary self type as first argument).
It continues with:
Please check if the method's argument list should have contained self, &self, or &mut self (in case you didn't want to create a static method), and add it if so.
That's outdated, &mut Pin<Self> (and others) work too. So this should be updated to cover arbitrary Self types.
E0424 states:
But
staticmethod is probably wrong, it should just say a non-method (I don't think we have a technical term to refer to methods that do not take an arbitrary self type as first argument).It continues with:
That's outdated,
&mut Pin<Self>(and others) work too. So this should be updated to cover arbitrarySelftypes.