> trait A {
>     fn a();
> }
> Could someone explain why and how to work around the issue?

Your function `a` is being treated as a method (member function), but
it does not take `&self` or `&mut self` as the first argument.

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to