Fix derive tests

This commit is contained in:
Ayaz Hafiz 2022-07-12 14:21:56 -04:00
parent a7b06fd7cf
commit b782f013bd
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 25 additions and 15 deletions

View file

@ -2680,7 +2680,7 @@ fn finish_specialization(
let mut all_ident_ids = state.constrained_ident_ids;
// Associate the ident IDs from the derived synth module
let derived_synth_ident_ids = Arc::try_unwrap(state.derived_module)
let (_, derived_synth_ident_ids) = Arc::try_unwrap(state.derived_module)
.unwrap_or_else(|_| internal_error!("Outstanding references to the derived module"))
.into_inner()
.unwrap()
@ -2805,7 +2805,7 @@ fn finish(
.into_module_ids();
// Associate the ident IDs from the derived synth module
let derived_synth_ident_ids = Arc::try_unwrap(state.derived_module)
let (_, derived_synth_ident_ids) = Arc::try_unwrap(state.derived_module)
.unwrap_or_else(|_| internal_error!("Outstanding references to the derived module"))
.into_inner()
.unwrap()