Update to the rustfmt in rust 1.32, which is now stable.

This commit is contained in:
Dan Gohman
2019-01-22 13:27:03 -08:00
parent 363eea6960
commit 1fdf1c92d9
7 changed files with 13 additions and 13 deletions

View File

@@ -99,7 +99,7 @@ impl ArgAssigner for Args {
} else {
RU::rsi
} as RegUnit)
.into()
.into();
}
// This is SpiderMonkey's `WasmTableCallSigReg`.
ArgumentPurpose::SignatureId => return ArgumentLoc::Reg(RU::r10 as RegUnit).into(),

View File

@@ -186,7 +186,7 @@ impl<'a> LivenessVerifier<'a> {
"Def local range for {} can't end at {}",
val,
e
)
);
}
ExpandedProgramPoint::Inst(i) => {
if self.func.layout.inst_ebb(i) != Some(def_ebb) {
@@ -216,7 +216,7 @@ impl<'a> LivenessVerifier<'a> {
val,
ebb,
end
)
);
}
};
@@ -247,7 +247,7 @@ impl<'a> LivenessVerifier<'a> {
"end of {} livein ({}) never reached",
val,
end_ebb
)
);
}
};
}

View File

@@ -1641,7 +1641,7 @@ impl<'a> Verifier<'a> {
"{} must have an encoding (e.g., {})",
text,
isa.encoding_info().display(enc)
)
);
}
Err(_) => return nonfatal!(errors, inst, "{} must have an encoding", text),
}