Yes, this is a bug: #6268.
The borrow checker doesn't seem to understand the arguments are fully evaluated by the time the original method is called and so thinks the &mut self
of get_text
is aliasing with the &self
of bark
(and having an aliasing &mut
pointer is illegal).