Simplify some redundant field names
This commit is contained in:
parent
636d7ff91b
commit
0b2525c787
16 changed files with 19 additions and 30 deletions
|
@ -931,7 +931,7 @@ fn compute_storage_conflicts<'mir, 'tcx>(
|
|||
// Compute the storage conflicts for all eligible locals.
|
||||
let mut visitor = StorageConflictVisitor {
|
||||
body,
|
||||
saved_locals: saved_locals,
|
||||
saved_locals,
|
||||
local_conflicts: BitMatrix::from_row_n(&ineligible_locals, body.local_decls.len()),
|
||||
eligible_storage_live: BitSet::new_empty(body.local_decls.len()),
|
||||
};
|
||||
|
|
|
@ -338,7 +338,7 @@ impl<'a, 'tcx> ConstAnalysis<'a, 'tcx> {
|
|||
tcx,
|
||||
local_decls: &body.local_decls,
|
||||
ecx: InterpCx::new(tcx, DUMMY_SP, param_env, DummyMachine),
|
||||
param_env: param_env,
|
||||
param_env,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue