auto_impl 1.3.0

Automatically implement traits for common smart pointers and closures
Documentation
1
2
3
4
5
error: the trait `Foo` cannot be auto-implemented for mutable references, because this method has a `self` receiver (only `&self`, `&mut self` and no receiver are allowed)
 --> tests/compile-fail/value_self_for_mutable_ref.rs:6:5
  |
6 |     fn foo(self);
  |     ^^^^^^^^^^^^