diff --git a/tests/helpers/mod.rs b/tests/helpers/mod.rs index f9b746050f..a920877e65 100644 --- a/tests/helpers/mod.rs +++ b/tests/helpers/mod.rs @@ -68,6 +68,7 @@ pub fn can_expr(expr_str: &str) -> CanExprOut { pub fn uniq_expr( expr_str: &str, ) -> ( + Located, Output, Vec, Subs, @@ -87,6 +88,7 @@ pub fn uniq_expr_with( expr_str: &str, declared_idents: &ImMap, ) -> ( + Located, Output, Vec, Subs, @@ -142,7 +144,9 @@ pub fn uniq_expr_with( let subs2 = Subs::new(var_store.into()); - (output, problems, subs2, var, constraint, home, interns) + ( + loc_expr, output, problems, subs2, var, constraint, home, interns, + ) } pub struct CanExprOut { diff --git a/tests/test_uniqueness_infer.rs b/tests/test_uniqueness_infer.rs index 6b2bfefc80..831652fae0 100644 --- a/tests/test_uniqueness_infer.rs +++ b/tests/test_uniqueness_infer.rs @@ -17,7 +17,8 @@ mod test_infer_uniq { // HELPERS fn infer_eq_help(src: &str) -> (Vec, String) { - let (output, _problems, mut subs, variable, constraint, home, interns) = uniq_expr(src); + let (_loc_expr, output, _problems, mut subs, variable, constraint, home, interns) = + uniq_expr(src); assert_correct_variable_usage(&constraint);