Redundant clone

This commit is contained in:
ayazhafiz 2022-02-11 08:52:37 -05:00
parent c71854d5a4
commit 55769caad6

View File

@ -1752,7 +1752,7 @@ fn make_tag_union_recursive_help<'a>(
can_report_error,
),
_ => {
mark_cyclic_alias(env, typ, symbol, region, others.clone(), *can_report_error);
mark_cyclic_alias(env, typ, symbol, region, others, *can_report_error);
*can_report_error = false;
Ok(())