remove redundant var rebindings
This commit is contained in:
parent
d06ca0ffaf
commit
269803ee56
3 changed files with 2 additions and 7 deletions
|
@ -27,7 +27,6 @@ pub fn test_layout(tcx: TyCtxt<'_>) {
|
|||
}
|
||||
|
||||
fn dump_layout_of(tcx: TyCtxt<'_>, item_def_id: LocalDefId, attr: &Attribute) {
|
||||
let tcx = tcx;
|
||||
let param_env = tcx.param_env(item_def_id);
|
||||
let ty = tcx.type_of(item_def_id).instantiate_identity();
|
||||
match tcx.layout_of(param_env.and(ty)) {
|
||||
|
|
|
@ -1105,7 +1105,6 @@ impl<'a, 'tcx> Liveness<'a, 'tcx> {
|
|||
}
|
||||
|
||||
// Then do a second pass for inputs
|
||||
let mut succ = succ;
|
||||
for (op, _op_sp) in asm.operands.iter().rev() {
|
||||
match op {
|
||||
hir::InlineAsmOperand::In { expr, .. } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue