Rollup merge of #110404 - matthiaskrgr:mapmap, r=Nilstrieb
fix clippy::toplevel_ref_arg and ::manual_map r? ``@Nilstrieb``
This commit is contained in:
commit
1795bf8222
12 changed files with 42 additions and 70 deletions
|
@ -493,7 +493,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
|
|||
cond: &Operand<'tcx>,
|
||||
location: Location,
|
||||
) -> Option<!> {
|
||||
let ref value = self.eval_operand(&cond, location)?;
|
||||
let value = &self.eval_operand(&cond, location)?;
|
||||
trace!("assertion on {:?} should be {:?}", value, expected);
|
||||
|
||||
let expected = Scalar::from_bool(expected);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue