diff --git a/crates/aiken-lang/src/tipo/error.rs b/crates/aiken-lang/src/tipo/error.rs index 28f61c45..5fa694a7 100644 --- a/crates/aiken-lang/src/tipo/error.rs +++ b/crates/aiken-lang/src/tipo/error.rs @@ -424,7 +424,7 @@ In this particular instance, the following cases are unmatched: .iter() .map(|s| format!("─▶ {s}")) .collect::>() - .join("") + .join("\n") ))] NotExhaustivePatternMatch { #[label("{}", if *is_let { "use when/is" } else { "non-exhaustive" })] @@ -1247,5 +1247,5 @@ fn format_suggestion(sample: &UntypedExpr) -> String { } }) .collect::>() - .join("") + .join("\n") }