auto_impl 1.3.0

Automatically implement traits for common smart pointers and closures
Documentation
1
2
3
4
5
6
7
8
error: this trait cannot be auto-implemented for Fn-traits (only traits with exactly one method and no other items are allowed)
 --> tests/compile-fail/fn_multiple_methods.rs:5:1
  |
5 | / trait Foo {
6 | |     fn a(&self);
7 | |     fn b(&self);
8 | | }
  | |_^