Fix warnings for constant names
auto merge of #676 : jdeseno/cargo/warnings, r=alexcrichton