explicit lifetime for self in trait seems to cause “E0499 cannot borrow `*emitter` as mutable more than once at a time” in a loop
I ran into a problem with a trait that can return a reference to data that lives in self
. Here is a minimal example case: