Enforce some simplifications

This commit is contained in:
Ayaz Hafiz 2022-07-12 15:02:56 -04:00
parent 7ff180c1a5
commit 76f7843c93
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 7 additions and 27 deletions

View file

@ -2103,7 +2103,7 @@ fn compact_lambda_set<P: Phase>(
}
};
let specialized_lambda_set = get_specialization_lambda_set_ambient_function(
let specialization_ambient_function_var = get_specialization_lambda_set_ambient_function(
subs,
derived_module,
phase,
@ -2114,7 +2114,7 @@ fn compact_lambda_set<P: Phase>(
target_rank,
);
let t_f2 = match specialized_lambda_set {
let t_f2 = match specialization_ambient_function_var {
Ok(lset) => lset,
Err(()) => {
// Do nothing other than to remove the concrete lambda to drop from the lambda set,