diff --git a/repl_eval/src/eval.rs b/repl_eval/src/eval.rs index 8d5bfee2b1..2cfedba801 100644 --- a/repl_eval/src/eval.rs +++ b/repl_eval/src/eval.rs @@ -115,7 +115,7 @@ fn unroll_newtypes<'a>( let field_var = *field.as_inner(); content = env.subs.get_content_without_compacting(field_var); } - Content::Alias(_, _, real_var) => { + Content::Alias(_, _, real_var, _) => { // We need to pass through aliases too, because their underlying types may have // unrolled newtypes. In such cases return the list of unrolled newtypes, but keep // the content as the alias for readability. For example,