As suggested by @huonw in IRC. From sha1 implementation [here](https://github.com/mozilla/rust/blob/master/src/libextra/crypto/sha1.rs#L237): ``` fn mk_result(st: &mut Sha1, rs: &mut [u8]) { ... } fn result(&mut self, out: &mut [u8]) { return mk_result(self, out); } ``` This last line should emit the warning.