From 4efeeb216a2ebee58501fee7800d631be20df535 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 9 Dec 2025 16:21:44 -0800 Subject: [PATCH] Revise --- src/compile_error.rs | 2 +- tests/arg_attribute.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compile_error.rs b/src/compile_error.rs index 0c0487b7..6c6e420b 100644 --- a/src/compile_error.rs +++ b/src/compile_error.rs @@ -266,7 +266,7 @@ impl Display for CompileError<'_> { "Non-default parameter `{parameter}` follows default parameter" ), UndefinedArgAttribute { argument } => { - write!(f, "Argument attribute for unknown argument `{argument}`") + write!(f, "Argument attribute for undefined argument `{argument}`") } UndefinedVariable { variable } => write!(f, "Variable `{variable}` not defined"), UnexpectedCharacter { expected } => { diff --git a/tests/arg_attribute.rs b/tests/arg_attribute.rs index 8d7be70b..df27a0b0 100644 --- a/tests/arg_attribute.rs +++ b/tests/arg_attribute.rs @@ -155,7 +155,7 @@ fn unknown_argument_error() { .arg("foo") .stderr( " - error: Argument attribute for unknown argument `bar` + error: Argument attribute for undefined argument `bar` ——▶ justfile:1:6 │ 1 │ [arg('bar', pattern='BAR')]