Rustup to 1.8.0-nightly (ce4b75f25 2016-02-12)

This commit is contained in:
mcarton 2016-02-13 13:17:48 +01:00
parent 17b7b413f7
commit 1efc88f10a

View File

@ -45,7 +45,7 @@ fn check_item(&mut self, cx: &EarlyContext, item: &Item) {
if def.variants.len() < 2 {
return;
}
let first = var2str(&*def.variants[0]);
let first = var2str(&def.variants[0]);
let mut pre = first.to_string();
let mut post = pre.clone();
for var in &def.variants[1..] {