diff --git a/crates/macros/src/impl_.rs b/crates/macros/src/impl_.rs index 49fb9dc3ea..821ead014a 100644 --- a/crates/macros/src/impl_.rs +++ b/crates/macros/src/impl_.rs @@ -187,7 +187,7 @@ pub fn parse_attribute(attr: &Attribute) -> Result> { Ok(Some(match name.as_ref() { "defaults" => { let defaults = HashMap::from_meta(&meta) - .map_err(|_| anyhow!("Unable to parse `#[default]` macro."))?; + .map_err(|_| anyhow!("Unable to parse `#[defaults]` macro."))?; ParsedAttribute::Default(defaults) } "optional" => {