Rollup merge of #80330 - eltociear:patch-2, r=lcnr
Fix typo in simplify_try.rs assigment -> assignment
This commit is contained in:
commit
704f81e3cb
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ fn optimization_applies<'tcx>(
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify the assigment chain consists of the form b = a; c = b; d = c; etc...
|
// Verify the assignment chain consists of the form b = a; c = b; d = c; etc...
|
||||||
if opt_info.field_tmp_assignments.is_empty() {
|
if opt_info.field_tmp_assignments.is_empty() {
|
||||||
trace!("NO: no assignments found");
|
trace!("NO: no assignments found");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue