Warning police
clean up the last bit of warnings
auto merge of #6431 : catamorphism/rust/warnings, r=catamorphism

Just cleaning up warnings.