diff --git a/crates/aiken-lang/src/tipo/error.rs b/crates/aiken-lang/src/tipo/error.rs index 5cbddb4f..ce6ca31e 100644 --- a/crates/aiken-lang/src/tipo/error.rs +++ b/crates/aiken-lang/src/tipo/error.rs @@ -479,7 +479,7 @@ If you really meant to return that last expression, try to replace it with the f }, #[error("{}\n", if *is_let { - "I noticed a let assignment matching a value with more than one constructor.".to_string() + "I noticed a let assignment matching a value with more than one pattern.".to_string() } else { format!( "I realized that a given '{keyword_when}/{keyword_is}' expression is non-exhaustive.",