An associated function for a trait was defined to be a method (i.e., to take a self
parameter), but an implementation of the trait declared the same function to be static.
Here's an example of this error:
trait Foo { fn foo(&self); } struct Bar; impl Foo for Bar { // error, method `foo` has a `&self` declaration in the trait, but not in // the impl fn foo() {} }